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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 104.2 kB / 17.59 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.33/0.33, allocations: 48.84 MB / 320.6 MB, free: 11.07 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 69.83 kB / 390.7 MB, free: 48.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1143, allocations: 59.17 MB / 449.9 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.4674/0.5817, allocations: 170.6 MB / 0.606 GB, free: 5.105 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005509/0.5873, allocations: 3.894 MB / 0.6098 GB, free: 1.957 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005406/0.5879, allocations: 11.25 kB / 0.6098 GB, free: 1.953 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009287/0.5889, allocations: 280.7 kB / 0.6101 GB, free: 1.719 MB / 430.1 MB [/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.001195/0.5901, allocations: 0.5651 MB / 0.6106 GB, free: 1.301 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004131/0.5942, allocations: 1.636 MB / 0.6122 GB, free: 140 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001705/0.5959, allocations: 1.328 MB / 0.6135 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005524/0.5965, allocations: 402.7 kB / 0.6139 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006675/0.5972, allocations: 0.5209 MB / 0.6144 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005718/0.5978, allocations: 0.5204 MB / 0.6149 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.5979, allocations: 57.53 kB / 0.615 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.5995, allocations: 0.715 MB / 0.6157 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004029/0.5999, allocations: 477.5 kB / 0.6161 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005307/0.6005, allocations: 0.5418 MB / 0.6167 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.6023, allocations: 1.541 MB / 0.6182 GB, free: 12.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.6023, allocations: 0 / 0.6182 GB, free: 12.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6023, allocations: 0 / 0.6182 GB, free: 12.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.6023, allocations: 4 kB / 0.6182 GB, free: 12.6 MB / 446.1 MB 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.002065/0.6044, allocations: 1.472 MB / 0.6196 GB, free: 11.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.6044, allocations: 19.62 kB / 0.6196 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007636/0.6052, allocations: 184.4 kB / 0.6198 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.6063, allocations: 0.845 MB / 0.6206 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.751e-05/0.6064, allocations: 37.75 kB / 0.6207 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.76e-05/0.6065, allocations: 51.22 kB / 0.6207 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009969/0.6075, allocations: 0.6281 MB / 0.6213 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.6075, allocations: 3.938 kB / 0.6213 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.969e-05/0.6076, allocations: 30.97 kB / 0.6214 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.6076, allocations: 24.55 kB / 0.6214 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007316/0.6083, allocations: 497.2 kB / 0.6219 GB, free: 10.09 MB / 446.1 MB 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.004246/0.6126, allocations: 2.574 MB / 0.6244 GB, free: 7.539 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.6129, allocations: 194.6 kB / 0.6246 GB, free: 7.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.6131, allocations: 81.45 kB / 0.6246 GB, free: 7.258 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002643/0.6133, allocations: 113.1 kB / 0.6247 GB, free: 7.129 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.6134, allocations: 38.56 kB / 0.6248 GB, free: 7.082 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 2.325e-06/0.6134, allocations: 0 / 0.6248 GB, free: 7.082 MB / 446.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007159/0.6141, allocations: 353.6 kB / 0.6251 GB, free: 6.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.6142, allocations: 55.41 kB / 0.6252 GB, free: 6.664 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002177/0.6163, allocations: 1.878 MB / 0.627 GB, free: 4.766 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.996e-05/0.6164, allocations: 29.7 kB / 0.627 GB, free: 4.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004612/0.6169, allocations: 0.5674 MB / 0.6276 GB, free: 4.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.095e-05/0.6169, allocations: 75.08 kB / 0.6277 GB, free: 4.086 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.6171, allocations: 81.97 kB / 0.6277 GB, free: 4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.6172, allocations: 329.9 kB / 0.6281 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.6175, allocations: 138 kB / 0.6282 GB, free: 3.535 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.6178, allocations: 226 kB / 0.6284 GB, free: 3.266 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/0.6182, allocations: 337.4 kB / 0.6287 GB, free: 2.887 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.6182, allocations: 0.6875 kB / 0.6287 GB, free: 2.887 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008478/0.6191, allocations: 0.5084 MB / 0.6292 GB, free: 2.371 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.6191, allocations: 4 kB / 0.6292 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.6191, allocations: 4 kB / 0.6292 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.6192, allocations: 8 kB / 0.6292 GB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006076/0.6198, allocations: 117.1 kB / 0.6293 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.6208, allocations: 1.793 MB / 0.6311 GB, free: 388 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005252/0.6213, allocations: 71.2 kB / 0.6312 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/0.6214, allocations: 19.98 kB / 0.6312 GB, free: 296 kB / 446.1 MB 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.0005624/0.622, allocations: 389.7 kB / 0.6316 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/0.6222, allocations: 124.1 kB / 0.6317 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006452/0.6229, allocations: 343 kB / 0.632 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.6229, allocations: 4 kB / 0.632 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.6229, allocations: 0 / 0.632 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.6229, allocations: 0 / 0.632 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009177/0.6238, allocations: 0.6987 MB / 0.6327 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.6239, allocations: 0 / 0.6327 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/0.6242, allocations: 77.14 kB / 0.6328 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.6242, allocations: 4 kB / 0.6328 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.6243, allocations: 4 kB / 0.6328 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/0.6253, allocations: 1.782 MB / 0.6345 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6253, allocations: 0 / 0.6345 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006945/0.626, allocations: 0.4951 MB / 0.635 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003286/0.6264, allocations: 231.6 kB / 0.6352 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.6265, allocations: 8 kB / 0.6352 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004537/0.6269, allocations: 11.98 kB / 0.6352 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.627, allocations: 28.06 kB / 0.6353 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.627, allocations: 19.98 kB / 0.6353 GB, free: 11.92 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001675/0.6287, allocations: 1.342 MB / 0.6366 GB, free: 10.58 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6287, allocations: 0 / 0.6366 GB, free: 10.58 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007999/0.6295, allocations: 235.8 kB / 0.6368 GB, free: 10.35 MB / 462.1 MB 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.001343/0.6309, allocations: 0.5014 MB / 0.6373 GB, free: 9.848 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007736/0.6317, allocations: 288.2 kB / 0.6376 GB, free: 9.566 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.6317, allocations: 8.25 kB / 0.6376 GB, free: 9.559 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003086/0.632, allocations: 111.9 kB / 0.6377 GB, free: 9.449 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/0.6339, allocations: 380.3 kB / 0.6381 GB, free: 9.074 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/0.6372, allocations: 2.112 MB / 0.6401 GB, free: 6.922 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007337/0.6379, allocations: 1.11 MB / 0.6412 GB, free: 5.781 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.6382, allocations: 83.36 kB / 0.6413 GB, free: 5.699 MB / 462.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6382, allocations: 0 / 0.6413 GB, free: 5.699 MB / 462.1 MB Notification: Performance of Templates: time 0.03994/0.6781, allocations: 26.84 MB / 0.6675 GB, free: 10.82 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.makefile (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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1)