Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.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.001128/0.001128, allocations: 93.06 kB / 19.65 MB, free: 280 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.001595/0.001595, allocations: 169 kB / 23.02 MB, free: 1.551 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.023/1.023, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8164/0.8164, allocations: 154.6 MB / 414.5 MB, free: 0.6641 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.967e-05, allocations: 7.219 kB / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002147/0.002177, allocations: 1.501 MB / 0.5218 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002619/0.002439, allocations: 88.31 kB / 0.5219 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.344e-05/0.002472, allocations: 0 / 0.5219 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.136e-05/0.002503, allocations: 6 kB / 0.5219 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.948e-05/0.002553, allocations: 3.938 kB / 0.5219 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.002769, allocations: 23.89 kB / 0.5219 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.125e-05/0.002841, allocations: 25.28 kB / 0.5219 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.101e-05/0.002922, allocations: 7.984 kB / 0.5219 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.383e-05/0.002975, allocations: 12 kB / 0.5219 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.399e-05/0.003009, allocations: 11.92 kB / 0.522 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.003025, allocations: 1.656 kB / 0.522 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.606e-05/0.003081, allocations: 15.98 kB / 0.522 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.003096, allocations: 4 kB / 0.522 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.003119, allocations: 7.984 kB / 0.522 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.003232, allocations: 38.08 kB / 0.522 GB, free: 488 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.003234, allocations: 0 / 0.522 GB, free: 488 kB / 490.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.003235, allocations: 0 / 0.522 GB, free: 488 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.00324, allocations: 0 / 0.522 GB, free: 488 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003675/0.003608, allocations: 364.6 kB / 0.5224 GB, free: 84 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.003646, allocations: 8.031 kB / 0.5224 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.003795, allocations: 13.48 kB / 0.5224 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.724e-05/0.003893, allocations: 117.1 kB / 0.5225 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.003909, allocations: 4.375 kB / 0.5225 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.003918, allocations: 1.312 kB / 0.5225 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.004071, allocations: 58.89 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.004079, allocations: 0.7188 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.004089, allocations: 1.781 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.004097, allocations: 384 / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.88e-05/0.004136, allocations: 15.91 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.004459, allocations: 255.8 kB / 0.5228 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.827e-05/0.004527, allocations: 35.94 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.442e-05/0.004552, allocations: 17.27 kB / 0.5229 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.004564, allocations: 0 / 0.5229 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.004589, allocations: 37.39 kB / 0.5229 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.00459, allocations: 0 / 0.5229 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001578/0.004748, allocations: 42.67 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.004779, allocations: 51.41 kB / 0.523 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.585e-05/0.004855, allocations: 170.6 kB / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.004867, allocations: 25.7 kB / 0.5232 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.004914, allocations: 136.1 kB / 0.5233 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.004934, allocations: 15.8 kB / 0.5233 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.004963, allocations: 19.38 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.005091, allocations: 496.1 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.588e-05/0.005117, allocations: 4.625 kB / 0.5238 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.334e-05/0.00513, allocations: 4.969 kB / 0.5238 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.514e-05/0.005165, allocations: 11.69 kB / 0.5238 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.005167, allocations: 0.5 kB / 0.5238 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.393e-05/0.005241, allocations: 48.89 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.005261, allocations: 9.25 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.00527, allocations: 3.938 kB / 0.5239 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.005287, allocations: 0 / 0.5239 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.148e-05/0.005378, allocations: 11.92 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.005384, allocations: 0 / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.291e-05/0.005407, allocations: 4 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.005413, allocations: 0 / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.701e-05/0.00548, allocations: 163.6 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.005495, allocations: 0 / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.005528, allocations: 15.16 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.005531, allocations: 3.984 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.005535, allocations: 0 / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.005538, allocations: 0 / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.005643, allocations: 116.6 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.005645, allocations: 1.5 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.878e-05/0.005673, allocations: 8 kB / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.005676, allocations: 0 / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.005684, allocations: 0 / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.005686, allocations: 4.438 kB / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.005687, allocations: 1.031 kB / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.005817, allocations: 195.8 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.005824, allocations: 0 / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.005835, allocations: 4.5 kB / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.632e-05/0.005871, allocations: 10.52 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.005915, allocations: 4 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.005919, allocations: 0 / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.614e-05/0.005965, allocations: 131.4 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005965, allocations: 0 / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001434/0.006108, allocations: 7.938 kB / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001146/0.006223, allocations: 97.67 kB / 0.5247 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.006333, allocations: 15.69 kB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.006335, allocations: 0 / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.449e-05/0.006359, allocations: 19.62 kB / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.00656, allocations: 9.641 kB / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003139/0.006874, allocations: 122.2 kB / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.151e-05/0.006915, allocations: 64.38 kB / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.145e-05/0.006936, allocations: 0.9375 kB / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.00697, allocations: 8.5 kB / 0.5249 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of SimCode: time 1.183e-06/0.006971, allocations: 1.406 kB / 0.5249 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.002546/0.009517, allocations: 0.704 MB / 0.5256 GB, free: 12.57 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.814352971035987]