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.001873/0.001873, allocations: 85.48 kB / 19.44 MB, free: 340 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.002013/0.002013, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] 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 1.372/1.372, allocations: 154.6 MB / 414.1 MB, free: 0.6523 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 178] 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 7.163e-06/7.163e-06, allocations: 4 kB / 0.5196 GB, free: 2.582 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.572e-05/4.288e-05, allocations: 8.969 kB / 0.5196 GB, free: 2.574 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.004011/0.004053, allocations: 1.457 MB / 0.521 GB, free: 1.129 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004013/0.004455, allocations: 102.1 kB / 0.5211 GB, free: 1.031 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/0.004496, allocations: 0 / 0.5211 GB, free: 1.031 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.881e-05/0.004524, allocations: 0 / 0.5211 GB, free: 1.031 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.351e-05/0.004598, allocations: 8.094 kB / 0.5212 GB, free: 1.023 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.004858, allocations: 20.92 kB / 0.5212 GB, free: 1.004 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.192e-05/0.004949, allocations: 19.92 kB / 0.5212 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.005054, allocations: 13.42 kB / 0.5212 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.199e-05/0.005136, allocations: 11.98 kB / 0.5212 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.085e-05/0.005187, allocations: 15.91 kB / 0.5212 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.005206, allocations: 0 / 0.5212 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.497e-05/0.005291, allocations: 21.11 kB / 0.5213 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.00531, allocations: 4 kB / 0.5213 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.06e-05/0.00533, allocations: 0 / 0.5213 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.00549, allocations: 48.45 kB / 0.5213 GB, free: 0.875 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.005498, allocations: 3.984 kB / 0.5213 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005499, allocations: 1.281 kB / 0.5213 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.005503, allocations: 0 / 0.5213 GB, free: 0.8711 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.0006209/0.006124, allocations: 360.2 kB / 0.5217 GB, free: 492 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.006172, allocations: 12.53 kB / 0.5217 GB, free: 480 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002376/0.00641, allocations: 14.02 kB / 0.5217 GB, free: 468 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.006568, allocations: 108.6 kB / 0.5218 GB, free: 332 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.006586, allocations: 384 / 0.5218 GB, free: 332 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.006601, allocations: 8.938 kB / 0.5218 GB, free: 324 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.006823, allocations: 52.27 kB / 0.5218 GB, free: 268 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.006833, allocations: 192 / 0.5218 GB, free: 268 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.006846, allocations: 384 / 0.5218 GB, free: 268 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.006851, allocations: 384 / 0.5218 GB, free: 268 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.007074, allocations: 39.84 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005999/0.007674, allocations: 265.2 kB / 0.5221 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.007903, allocations: 51.05 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.008044, allocations: 29.2 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.008065, allocations: 0 / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.841e-05/0.008113, allocations: 33.39 kB / 0.5222 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.008115, allocations: 0.9688 kB / 0.5222 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0005103/0.008625, allocations: 91.05 kB / 0.5223 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.00868, allocations: 51.41 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.008852, allocations: 169.9 kB / 0.5225 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.008888, allocations: 26.2 kB / 0.5226 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.008995, allocations: 134.9 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.009018, allocations: 4.984 kB / 0.5227 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/0.009082, allocations: 19.36 kB / 0.5227 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003242/0.009406, allocations: 0.4933 MB / 0.5232 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.009521, allocations: 15.98 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.538e-05/0.009617, allocations: 16.62 kB / 0.5232 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.009847, allocations: 45.12 kB / 0.5233 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.00985, allocations: 0 / 0.5233 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002937/0.01014, allocations: 71.44 kB / 0.5233 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.01016, allocations: 4 kB / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.01017, allocations: 3.938 kB / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.01018, allocations: 4 kB / 0.5234 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.0103, allocations: 6.375 kB / 0.5234 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.01031, allocations: 0 / 0.5234 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.921e-05/0.01038, allocations: 7.984 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.01038, allocations: 0 / 0.5234 GB, free: 14.57 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 0.0001666/0.01055, allocations: 164.5 kB / 0.5235 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.01059, allocations: 2.438 kB / 0.5235 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.01063, allocations: 7.562 kB / 0.5235 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.01064, allocations: 4 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01064, allocations: 0 / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01065, allocations: 0 / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.0109, allocations: 120.6 kB / 0.5236 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.0109, allocations: 3.938 kB / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.302e-05/0.01099, allocations: 9.859 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01099, allocations: 0 / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.011, allocations: 0 / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.01101, allocations: 3.938 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01101, allocations: 4 kB / 0.5237 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.01145, allocations: 216.9 kB / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.01146, allocations: 4.938 kB / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.01148, allocations: 0 / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.01164, allocations: 15.17 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.01168, allocations: 0 / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.01169, allocations: 3.984 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000118/0.01181, allocations: 131.4 kB / 0.524 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/0.01181, allocations: 0 / 0.524 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004121/0.01222, allocations: 8 kB / 0.524 GB, free: 13.84 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.0001728/0.0124, allocations: 99.17 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003472/0.01274, allocations: 50.64 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.01275, allocations: 0 / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.01291, allocations: 27.67 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.01332, allocations: 4 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005111/0.01383, allocations: 127.8 kB / 0.5243 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.01394, allocations: 67.28 kB / 0.5244 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.649e-05/0.01399, allocations: 1.281 kB / 0.5244 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/0.01405, allocations: 12.5 kB / 0.5244 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of SimCode: time 8.21e-07/0.01405, allocations: 0 / 0.5244 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.005415/0.01947, allocations: 0.6536 MB / 0.525 GB, free: 12.76 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: 5.973154196981341]