Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.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.001334/0.001334, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001431/0.001431, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 158.6 MB / 186.3 MB, free: 6.219 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2764/0.2764, allocations: 36.35 MB / 274.9 MB, free: 14.64 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 75.89 kB / 415.2 MB, free: 14.09 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3327, allocations: 62.38 MB / 477.6 MB, free: 43.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.1753/0.508, allocations: 147.5 MB / 0.6105 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005904/0.5139, allocations: 3.592 MB / 0.614 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005197/0.5144, allocations: 11.94 kB / 0.614 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009064/0.5153, allocations: 262.3 kB / 0.6143 GB, free: 4.977 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001201/0.5165, allocations: 0.5756 MB / 0.6148 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004429/0.521, allocations: 1.674 MB / 0.6165 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001975/0.5229, allocations: 1.344 MB / 0.6178 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006311/0.5236, allocations: 365.8 kB / 0.6181 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009577/0.5245, allocations: 0.5411 MB / 0.6187 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007628/0.5253, allocations: 0.5372 MB / 0.6192 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.5254, allocations: 56 kB / 0.6192 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.527, allocations: 0.6196 MB / 0.6198 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004687/0.5275, allocations: 482.6 kB / 0.6203 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005185/0.528, allocations: 437.6 kB / 0.6207 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.53, allocations: 1.572 MB / 0.6223 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.53, allocations: 0 / 0.6223 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.53, allocations: 0 / 0.6223 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.943e-05/0.53, allocations: 0 / 0.6223 GB, free: 12.8 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002335/0.5324, allocations: 1.441 MB / 0.6237 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.5324, allocations: 16.02 kB / 0.6237 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007493/0.5332, allocations: 183.1 kB / 0.6238 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.5346, allocations: 0.7863 MB / 0.6246 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/0.5346, allocations: 37.31 kB / 0.6247 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.638e-05/0.5347, allocations: 48 kB / 0.6247 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.5361, allocations: 1.069 MB / 0.6257 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.5361, allocations: 0 / 0.6257 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-05/0.5362, allocations: 35.88 kB / 0.6258 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.5362, allocations: 12 kB / 0.6258 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008285/0.537, allocations: 493 kB / 0.6263 GB, free: 8.504 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00398/0.541, allocations: 1.835 MB / 0.628 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.5413, allocations: 186.5 kB / 0.6282 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.5415, allocations: 74.03 kB / 0.6283 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/0.5417, allocations: 39.89 kB / 0.6283 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.5417, allocations: 38.56 kB / 0.6284 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.5417, allocations: 0 / 0.6284 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20): time 0.0007038/0.5424, allocations: 340.7 kB / 0.6287 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.5425, allocations: 59.34 kB / 0.6288 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/0.5446, allocations: 1.648 MB / 0.6304 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.843e-05/0.5446, allocations: 33.7 kB / 0.6304 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005257/0.5452, allocations: 0.5706 MB / 0.631 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.125e-05/0.5452, allocations: 83.45 kB / 0.631 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.5454, allocations: 82.02 kB / 0.6311 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.5455, allocations: 322 kB / 0.6314 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.5458, allocations: 134.7 kB / 0.6315 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.5461, allocations: 230.7 kB / 0.6318 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/0.5466, allocations: 341.4 kB / 0.6321 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.5466, allocations: 0 / 0.6321 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009223/0.5476, allocations: 0.491 MB / 0.6326 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.5476, allocations: 4 kB / 0.6326 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.5476, allocations: 4 kB / 0.6326 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.347e-05/0.5476, allocations: 8 kB / 0.6326 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006166/0.5482, allocations: 119.8 kB / 0.6327 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.5495, allocations: 1.794 MB / 0.6345 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004384/0.5499, allocations: 49.7 kB / 0.6345 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.55, allocations: 24 kB / 0.6345 GB, free: 15.75 MB / 0.545 GB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006179/0.5506, allocations: 388.9 kB / 0.6349 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.5508, allocations: 111.3 kB / 0.635 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000689/0.5515, allocations: 316.7 kB / 0.6353 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.5515, allocations: 4.125 kB / 0.6353 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5515, allocations: 4 kB / 0.6353 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5515, allocations: 48 / 0.6353 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008626/0.5524, allocations: 0.5343 MB / 0.6358 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5524, allocations: 3.938 kB / 0.6358 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000382/0.5528, allocations: 75.89 kB / 0.6359 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.5528, allocations: 0 / 0.6359 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.5528, allocations: 7.984 kB / 0.6359 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.554, allocations: 1.782 MB / 0.6377 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.554, allocations: 0 / 0.6377 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007176/0.5547, allocations: 483.7 kB / 0.6381 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003474/0.5551, allocations: 143.2 kB / 0.6383 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.552e-05/0.5552, allocations: 0 / 0.6383 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/0.5556, allocations: 19.97 kB / 0.6383 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.5556, allocations: 15.98 kB / 0.6383 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-05/0.5557, allocations: 27.91 kB / 0.6383 GB, free: 11.74 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001569/0.5572, allocations: 1.165 MB / 0.6395 GB, free: 10.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5572, allocations: 4.156 kB / 0.6395 GB, free: 10.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009475/0.5582, allocations: 259.4 kB / 0.6397 GB, free: 10.31 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001956/0.5601, allocations: 0.5278 MB / 0.6402 GB, free: 9.836 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007979/0.5609, allocations: 267.6 kB / 0.6405 GB, free: 9.574 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.561, allocations: 0 / 0.6405 GB, free: 9.574 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003472/0.5613, allocations: 109.8 kB / 0.6406 GB, free: 9.469 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.5625, allocations: 211.7 kB / 0.6408 GB, free: 9.266 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003442/0.5659, allocations: 2.048 MB / 0.6428 GB, free: 7.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000677/0.5666, allocations: 0.5202 MB / 0.6433 GB, free: 6.629 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006233/0.5672, allocations: 194.6 kB / 0.6435 GB, free: 6.434 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.5674, allocations: 60.5 kB / 0.6435 GB, free: 6.375 MB / 0.545 GB Notification: Performance of SimCode: time 9.21e-07/0.5674, allocations: 0 / 0.6435 GB, free: 6.375 MB / 0.545 GB Notification: Performance of Templates: time 0.02738/0.5948, allocations: 13.71 MB / 0.6569 GB, free: 8.648 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.597049767966382] Failed to read output from testmodel.py, exit status != 0: 0.6042767289327458 0.6191580289999999 0.085808591 Calling exit ...