Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.212/1.212, allocations: 154.8 MB / 414.3 MB, free: 448 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor") translateModel(IDEAS.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.5198 GB, free: 2.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.279e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.266 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.009556/0.009589, allocations: 3.744 MB / 0.5235 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004655/0.01424, allocations: 1.688 MB / 0.5251 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002786/0.01452, allocations: 11.94 kB / 0.5251 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.01653, allocations: 491.8 kB / 0.5256 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008785/0.0174, allocations: 241.1 kB / 0.5258 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007972/0.0182, allocations: 212.3 kB / 0.526 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008689/0.01907, allocations: 494.8 kB / 0.5265 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007473/0.01982, allocations: 293.4 kB / 0.5268 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005288/0.02035, allocations: 272.6 kB / 0.527 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005829/0.02093, allocations: 195.4 kB / 0.5272 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.995e-05/0.02101, allocations: 28.72 kB / 0.5273 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00065/0.02166, allocations: 223.4 kB / 0.5275 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002321/0.02189, allocations: 136.5 kB / 0.5276 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000255/0.02215, allocations: 123.7 kB / 0.5277 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.02321, allocations: 0.5069 MB / 0.5282 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.02321, allocations: 0 / 0.5282 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.884e-06/0.02321, allocations: 4.781 kB / 0.5282 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.036e-06/0.02322, allocations: 0 / 0.5282 GB, free: 9.66 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00159/0.02481, allocations: 0.5617 MB / 0.5288 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.02486, allocations: 8.031 kB / 0.5288 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/0.02655, allocations: 202.8 kB / 0.529 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006467/0.0272, allocations: 242.7 kB / 0.5292 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.762e-05/0.02725, allocations: 24.97 kB / 0.5292 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.47e-05/0.02733, allocations: 32.36 kB / 0.5293 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.02865, allocations: 0.5792 MB / 0.5298 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.02867, allocations: 1.188 kB / 0.5298 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.505e-05/0.02873, allocations: 16.38 kB / 0.5298 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.778e-05/0.02882, allocations: 28.58 kB / 0.5299 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009132/0.02974, allocations: 323.1 kB / 0.5302 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003382/0.03312, allocations: 1.517 MB / 0.5317 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/0.03368, allocations: 160 kB / 0.5318 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003927/0.03407, allocations: 104.7 kB / 0.5319 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.03409, allocations: 7.938 kB / 0.5319 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/0.03414, allocations: 38.5 kB / 0.5319 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 2.455e-06/0.03414, allocations: 4 kB / 0.532 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.001078/0.03522, allocations: 220.1 kB / 0.5322 GB, free: 5.422 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.03528, allocations: 59.34 kB / 0.5322 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003648/0.03565, allocations: 237 kB / 0.5324 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.03568, allocations: 25.7 kB / 0.5325 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.03589, allocations: 216.2 kB / 0.5327 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.762e-05/0.03595, allocations: 40.77 kB / 0.5327 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.03608, allocations: 53.89 kB / 0.5328 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002276/0.03631, allocations: 326.8 kB / 0.5331 GB, free: 4.438 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.03644, allocations: 59.69 kB / 0.5331 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.03674, allocations: 141 kB / 0.5333 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.03708, allocations: 221.9 kB / 0.5335 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.03709, allocations: 0 / 0.5335 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000524/0.03761, allocations: 274.2 kB / 0.5337 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.03763, allocations: 8 kB / 0.5337 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.03764, allocations: 4 kB / 0.5338 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002861/0.03792, allocations: 39.61 kB / 0.5338 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.03813, allocations: 55.98 kB / 0.5338 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.03951, allocations: 1.289 MB / 0.5351 GB, free: 2.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.03969, allocations: 24.42 kB / 0.5351 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.03971, allocations: 12 kB / 0.5351 GB, free: 2.148 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002095/0.03992, allocations: 163 kB / 0.5353 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.28e-05/0.04, allocations: 29.17 kB / 0.5353 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.698e-05/0.04004, allocations: 21.47 kB / 0.5353 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.04005, allocations: 3.938 kB / 0.5353 GB, free: 1.934 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.04005, allocations: 0 / 0.5353 GB, free: 1.934 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.04005, allocations: 5.391 kB / 0.5354 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.04106, allocations: 0.5684 MB / 0.5359 GB, free: 1.305 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.04107, allocations: 0 / 0.5359 GB, free: 1.305 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.889e-05/0.04117, allocations: 20 kB / 0.5359 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001899/0.04136, allocations: 42.95 kB / 0.536 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.04137, allocations: 4 kB / 0.536 GB, free: 1.238 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.04266, allocations: 1.301 MB / 0.5372 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.04266, allocations: 1.562 kB / 0.5372 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004316/0.04309, allocations: 309.2 kB / 0.5375 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.67e-05/0.04319, allocations: 43.78 kB / 0.5376 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.04322, allocations: 4.625 kB / 0.5376 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.0434, allocations: 16.92 kB / 0.5376 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.04343, allocations: 7.984 kB / 0.5376 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.04344, allocations: 8.938 kB / 0.5376 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001826/0.04363, allocations: 161.6 kB / 0.5378 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.04363, allocations: 2.469 kB / 0.5378 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004519/0.04408, allocations: 83.78 kB / 0.5379 GB, free: 15.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001361/0.04422, allocations: 103.2 kB / 0.5379 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005413/0.04476, allocations: 274.7 kB / 0.5382 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.04476, allocations: 1.375 kB / 0.5382 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.04503, allocations: 184.5 kB / 0.5384 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.04558, allocations: 59.69 kB / 0.5384 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.04664, allocations: 0.5242 MB / 0.539 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.04689, allocations: 188.6 kB / 0.5391 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001358/0.04702, allocations: 37.8 kB / 0.5392 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.565e-05/0.04708, allocations: 17.75 kB / 0.5392 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of SimCode: time 6.82e-07/0.04708, allocations: 0 / 0.5392 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of Templates: time 0.007213/0.05429, allocations: 2.46 MB / 0.5416 GB, free: 11.42 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.885251873987727]