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.001085/0.001085, allocations: 93.06 kB / 19.65 MB, free: 276 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.001054/0.001054, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.9846/0.9846, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7592/0.7592, allocations: 154.9 MB / 414.8 MB, free: 360 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 179] 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 1.543e-06/1.543e-06, allocations: 0 / 0.5207 GB, free: 1.824 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.354e-05, allocations: 3.219 kB / 0.5207 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.003187/0.003211, allocations: 2.966 MB / 0.5236 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.004786, allocations: 1.118 MB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.004924, allocations: 11.94 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004622/0.005387, allocations: 115.4 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.00573, allocations: 200.9 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.006025, allocations: 149 kB / 0.5251 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004447/0.006469, allocations: 0.4909 MB / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004264/0.006896, allocations: 289.4 kB / 0.5259 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.00716, allocations: 280.7 kB / 0.5261 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003294/0.007489, allocations: 191.5 kB / 0.5263 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.866e-05/0.007528, allocations: 28 kB / 0.5263 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.007695, allocations: 105.1 kB / 0.5264 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.007811, allocations: 135.6 kB / 0.5266 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.687e-05/0.007908, allocations: 131.7 kB / 0.5267 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.008255, allocations: 323.7 kB / 0.527 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.008258, allocations: 0 / 0.527 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.042e-06/0.008259, allocations: 1.75 kB / 0.527 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.008265, allocations: 0 / 0.527 GB, free: 11.34 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.0007132/0.008978, allocations: 0.6461 MB / 0.5276 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.009015, allocations: 12.03 kB / 0.5276 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005753/0.00959, allocations: 201.8 kB / 0.5278 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.009876, allocations: 240.9 kB / 0.5281 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.009896, allocations: 24.97 kB / 0.5281 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/0.009928, allocations: 29.31 kB / 0.5281 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004012/0.01033, allocations: 464.9 kB / 0.5286 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.01034, allocations: 4.688 kB / 0.5286 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.01037, allocations: 13.09 kB / 0.5286 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.39e-05/0.01041, allocations: 32.58 kB / 0.5286 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.01061, allocations: 136.9 kB / 0.5287 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.0119, allocations: 1.916 MB / 0.5306 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.01212, allocations: 107.2 kB / 0.5307 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.01225, allocations: 79.58 kB / 0.5308 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.01226, allocations: 2.844 kB / 0.5308 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.01229, allocations: 41.33 kB / 0.5308 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.823e-06/0.01229, allocations: 0 / 0.5308 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0003461/0.01264, allocations: 157.4 kB / 0.531 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.01266, allocations: 59.34 kB / 0.531 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.01282, allocations: 274.6 kB / 0.5313 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.01284, allocations: 26.42 kB / 0.5313 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.776e-05/0.01294, allocations: 260.1 kB / 0.5316 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.01297, allocations: 59.52 kB / 0.5316 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/0.01302, allocations: 55.55 kB / 0.5317 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.01314, allocations: 0.4962 MB / 0.5322 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.642e-05/0.01319, allocations: 35.16 kB / 0.5322 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.642e-05/0.01328, allocations: 156.6 kB / 0.5324 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.01343, allocations: 192.5 kB / 0.5325 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.01344, allocations: 4 kB / 0.5325 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002501/0.01369, allocations: 220.6 kB / 0.5327 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.0137, allocations: 4 kB / 0.5328 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.01371, allocations: 4 kB / 0.5328 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/0.01389, allocations: 32.98 kB / 0.5328 GB, free: 5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.014, allocations: 48.59 kB / 0.5328 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007794/0.01478, allocations: 1.746 MB / 0.5345 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.754e-05/0.01487, allocations: 24.41 kB / 0.5346 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.01488, allocations: 9.062 kB / 0.5346 GB, free: 3.059 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 9.52e-05/0.01497, allocations: 181.7 kB / 0.5347 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.015, allocations: 19.91 kB / 0.5348 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.094e-05/0.01502, allocations: 21.47 kB / 0.5348 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.01503, allocations: 3.938 kB / 0.5348 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.01503, allocations: 4.938 kB / 0.5348 GB, free: 2.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.01503, allocations: 3.984 kB / 0.5348 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005031/0.01554, allocations: 0.5699 MB / 0.5354 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01554, allocations: 0 / 0.5354 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.01559, allocations: 20 kB / 0.5354 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/0.01569, allocations: 39.59 kB / 0.5354 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.0157, allocations: 4 kB / 0.5354 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006708/0.01637, allocations: 1.751 MB / 0.5371 GB, free: 248 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.01638, allocations: 3.984 kB / 0.5371 GB, free: 244 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.0166, allocations: 333.1 kB / 0.5374 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.01664, allocations: 35.77 kB / 0.5375 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.01666, allocations: 8 kB / 0.5375 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.72e-05/0.01674, allocations: 11.98 kB / 0.5375 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.01676, allocations: 11.98 kB / 0.5375 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.01677, allocations: 8 kB / 0.5375 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.241e-05/0.01686, allocations: 189.5 kB / 0.5377 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-08/0.01686, allocations: 0 / 0.5377 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002507/0.01711, allocations: 87.34 kB / 0.5378 GB, free: 15.52 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 8.792e-05/0.0172, allocations: 107.2 kB / 0.5379 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003423/0.01754, allocations: 288.9 kB / 0.5382 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.01755, allocations: 4.75 kB / 0.5382 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.01768, allocations: 222.5 kB / 0.5384 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.01799, allocations: 53.83 kB / 0.5384 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000868/0.01886, allocations: 0.5316 MB / 0.5389 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.949e-05/0.01893, allocations: 112.3 kB / 0.5391 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.544e-05/0.01901, allocations: 33.56 kB / 0.5391 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.01905, allocations: 21.69 kB / 0.5391 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of SimCode: time 7.61e-07/0.01905, allocations: 0 / 0.5391 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of Templates: time 0.004652/0.0237, allocations: 2.581 MB / 0.5416 GB, free: 11.65 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8131779888644814]