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.001056/0.001056, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.002058/0.002058, allocations: 173 kB / 23.49 MB, free: 1.059 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.137/1.137, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.7776/0.7776, allocations: 154.6 MB / 414.9 MB, free: 0.6562 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.973e-06/1.973e-06, allocations: 0 / 0.5203 GB, free: 2.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.095e-05, allocations: 3.281 kB / 0.5203 GB, free: 2.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002211/0.002242, allocations: 1.487 MB / 0.5218 GB, free: 1.035 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002671/0.002509, allocations: 95.53 kB / 0.5219 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.5e-05/0.002544, allocations: 5.656 kB / 0.5219 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.813e-05/0.002573, allocations: 3.938 kB / 0.5219 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.035e-05/0.002623, allocations: 0 / 0.5219 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.002843, allocations: 20.61 kB / 0.5219 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.273e-05/0.002915, allocations: 27.92 kB / 0.5219 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.579e-05/0.003001, allocations: 1.406 kB / 0.5219 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.467e-05/0.003056, allocations: 11.98 kB / 0.522 GB, free: 0.875 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.66e-05/0.003092, allocations: 15.97 kB / 0.522 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.003109, allocations: 4 kB / 0.522 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.32e-05/0.003162, allocations: 13.33 kB / 0.522 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.003178, allocations: 7.938 kB / 0.522 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.003197, allocations: 8 kB / 0.522 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.003308, allocations: 31.89 kB / 0.522 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.003311, allocations: 1.188 kB / 0.522 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.003312, allocations: 0 / 0.522 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.003315, allocations: 0 / 0.522 GB, free: 0.7969 MB / 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.0003628/0.003678, allocations: 367.3 kB / 0.5224 GB, free: 412 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.003717, allocations: 12.03 kB / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.003865, allocations: 8.922 kB / 0.5224 GB, free: 392 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.026e-05/0.003946, allocations: 112.6 kB / 0.5225 GB, free: 252 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.003959, allocations: 384 / 0.5225 GB, free: 252 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.003969, allocations: 8.312 kB / 0.5225 GB, free: 244 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.004093, allocations: 63.42 kB / 0.5226 GB, free: 172 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.004098, allocations: 192 / 0.5226 GB, free: 172 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.004106, allocations: 0.9375 kB / 0.5226 GB, free: 172 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.004115, allocations: 5.344 kB / 0.5226 GB, free: 168 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.627e-05/0.004151, allocations: 11.92 kB / 0.5226 GB, free: 156 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.004477, allocations: 259.8 kB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.768e-05/0.004544, allocations: 40.62 kB / 0.5229 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.622e-05/0.004571, allocations: 7.688 kB / 0.5229 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.004584, allocations: 0 / 0.5229 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.004608, allocations: 38.39 kB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.004609, allocations: 0 / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.000162/0.004771, allocations: 51.03 kB / 0.523 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.004801, allocations: 51.41 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.551e-05/0.004886, allocations: 165.9 kB / 0.5232 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.004899, allocations: 30.86 kB / 0.5232 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.241e-05/0.004951, allocations: 130.8 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.004972, allocations: 7.938 kB / 0.5233 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.005004, allocations: 20.06 kB / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.005133, allocations: 496.1 kB / 0.5238 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.204e-05/0.005155, allocations: 9.281 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.29e-05/0.005168, allocations: 0 / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.464e-05/0.005202, allocations: 15.69 kB / 0.5239 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005204, allocations: 1.281 kB / 0.5239 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.264e-05/0.005287, allocations: 45.64 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.005301, allocations: 7.156 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.005309, allocations: 3.938 kB / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.005324, allocations: 7.938 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.831e-05/0.005403, allocations: 4 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.005409, allocations: 0 / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.501e-05/0.005434, allocations: 7.984 kB / 0.5239 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.005438, allocations: 3.938 kB / 0.5239 GB, free: 14.65 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 7.481e-05/0.005513, allocations: 152.6 kB / 0.5241 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.005529, allocations: 6.781 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.00556, allocations: 15.16 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.005562, allocations: 0 / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.005565, allocations: 0 / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.005567, allocations: 4 kB / 0.5241 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.777e-05/0.005665, allocations: 116.6 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.005666, allocations: 0 / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.757e-05/0.005693, allocations: 9.297 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.005695, allocations: 4 kB / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.005702, allocations: 0 / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.005704, allocations: 3.938 kB / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.005705, allocations: 0.5 kB / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.005813, allocations: 192.3 kB / 0.5244 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-06/0.00582, allocations: 6 kB / 0.5244 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.005829, allocations: 256 / 0.5244 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.781e-05/0.005867, allocations: 11.94 kB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.005899, allocations: 3.984 kB / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.005903, allocations: 4 kB / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.519e-05/0.005938, allocations: 125.6 kB / 0.5246 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.005938, allocations: 0 / 0.5246 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001489/0.006087, allocations: 8 kB / 0.5246 GB, free: 13.95 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 7.518e-05/0.006162, allocations: 91.25 kB / 0.5247 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.078e-05/0.006253, allocations: 21.92 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.006254, allocations: 0 / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.215e-05/0.006276, allocations: 15.62 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.006514, allocations: 8 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.006803, allocations: 127.2 kB / 0.5248 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.716e-05/0.00684, allocations: 56.3 kB / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.097e-05/0.006861, allocations: 5.562 kB / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.00689, allocations: 8.5 kB / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/0.006891, allocations: 0 / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of Templates: time 0.00221/0.009101, allocations: 0.6565 MB / 0.5255 GB, free: 12.93 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.9726700792089105]