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.001201/0.001202, allocations: 115.1 kB / 17.69 MB, free: 5.309 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.001025/0.001025, allocations: 191 kB / 18.63 MB, free: 4.375 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.309/1.309, allocations: 205.1 MB / 224.5 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.269/0.269, allocations: 48.84 MB / 320.7 MB, free: 11.04 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.001422/0.001422, allocations: 75.17 kB / 391.5 MB, free: 48.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09186/0.0933, allocations: 59.16 MB / 450.7 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.3495/0.4428, allocations: 170.6 MB / 0.6068 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004673/0.4475, allocations: 3.906 MB / 0.6106 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003186/0.4478, allocations: 8.75 kB / 0.6106 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000718/0.4486, allocations: 275.7 kB / 0.6108 GB, free: 1.207 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.0008697/0.4495, allocations: 0.565 MB / 0.6114 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003352/0.4529, allocations: 1.643 MB / 0.613 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001346/0.4542, allocations: 1.322 MB / 0.6143 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004768/0.4547, allocations: 406.2 kB / 0.6147 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005885/0.4553, allocations: 0.529 MB / 0.6152 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005041/0.4558, allocations: 0.5138 MB / 0.6157 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.617e-05/0.4559, allocations: 57.97 kB / 0.6158 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.4571, allocations: 0.6893 MB / 0.6164 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003563/0.4575, allocations: 473.3 kB / 0.6169 GB, free: 13.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004775/0.458, allocations: 0.5482 MB / 0.6174 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.4594, allocations: 1.559 MB / 0.6189 GB, free: 12.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4594, allocations: 0 / 0.6189 GB, free: 12.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4595, allocations: 0 / 0.6189 GB, free: 12.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.4595, allocations: 0 / 0.6189 GB, free: 12.08 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.002323/0.4618, allocations: 1.48 MB / 0.6204 GB, free: 10.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.4619, allocations: 19.61 kB / 0.6204 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.4629, allocations: 176.8 kB / 0.6206 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.4647, allocations: 0.8512 MB / 0.6214 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.351e-05/0.4647, allocations: 43.72 kB / 0.6214 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.316e-05/0.4648, allocations: 48.38 kB / 0.6215 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.4661, allocations: 0.6287 MB / 0.6221 GB, free: 9.828 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.4662, allocations: 3.984 kB / 0.6221 GB, free: 9.824 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.41e-05/0.4663, allocations: 27.47 kB / 0.6221 GB, free: 9.805 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.4663, allocations: 12.31 kB / 0.6221 GB, free: 9.805 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009786/0.4673, allocations: 498.7 kB / 0.6226 GB, free: 9.574 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.005477/0.4728, allocations: 2.547 MB / 0.6251 GB, free: 7.145 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004629/0.4733, allocations: 194.6 kB / 0.6253 GB, free: 6.945 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.4735, allocations: 80.83 kB / 0.6254 GB, free: 6.863 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003374/0.4738, allocations: 117.1 kB / 0.6255 GB, free: 6.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.4739, allocations: 42.5 kB / 0.6255 GB, free: 6.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 2.775e-06/0.4739, allocations: 0 / 0.6255 GB, free: 6.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=20): time 0.001022/0.4749, allocations: 355.2 kB / 0.6259 GB, free: 6.328 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.475, allocations: 59.39 kB / 0.6259 GB, free: 6.258 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003116/0.4781, allocations: 1.878 MB / 0.6278 GB, free: 4.359 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.44e-05/0.4782, allocations: 29.7 kB / 0.6278 GB, free: 4.324 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006547/0.4788, allocations: 0.5636 MB / 0.6283 GB, free: 3.758 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.576e-05/0.4789, allocations: 75 kB / 0.6284 GB, free: 3.684 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.4792, allocations: 77.97 kB / 0.6285 GB, free: 3.602 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4793, allocations: 325.9 kB / 0.6288 GB, free: 3.277 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.4796, allocations: 144.4 kB / 0.6289 GB, free: 3.137 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.4799, allocations: 230 kB / 0.6291 GB, free: 2.863 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004273/0.4803, allocations: 329.5 kB / 0.6295 GB, free: 2.492 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4803, allocations: 3.938 kB / 0.6295 GB, free: 2.488 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008439/0.4812, allocations: 0.5045 MB / 0.63 GB, free: 1.977 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4812, allocations: 8 kB / 0.63 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.4812, allocations: 4 kB / 0.63 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4812, allocations: 4 kB / 0.63 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005776/0.4818, allocations: 123.8 kB / 0.6301 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.483, allocations: 1.798 MB / 0.6318 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007544/0.4837, allocations: 71.2 kB / 0.6319 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/0.4838, allocations: 23.98 kB / 0.6319 GB, free: 15.88 MB / 462.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.0007413/0.4846, allocations: 377.6 kB / 0.6323 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003245/0.4849, allocations: 126.5 kB / 0.6324 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008099/0.4857, allocations: 338.9 kB / 0.6327 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4858, allocations: 4 kB / 0.6327 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4858, allocations: 0 / 0.6327 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4858, allocations: 3.984 kB / 0.6327 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.487, allocations: 0.6987 MB / 0.6334 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.487, allocations: 0 / 0.6334 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005668/0.4876, allocations: 75.89 kB / 0.6335 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.4876, allocations: 0 / 0.6335 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.4877, allocations: 9.938 kB / 0.6335 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/0.4889, allocations: 1.782 MB / 0.6352 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4889, allocations: 0 / 0.6352 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009461/0.4899, allocations: 496.9 kB / 0.6357 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005192/0.4904, allocations: 235.6 kB / 0.6359 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.4906, allocations: 8 kB / 0.636 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006064/0.4912, allocations: 19.92 kB / 0.636 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.4913, allocations: 16.08 kB / 0.636 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-05/0.4913, allocations: 27.97 kB / 0.636 GB, free: 11.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0023/0.4937, allocations: 1.342 MB / 0.6373 GB, free: 10.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.4937, allocations: 0 / 0.6373 GB, free: 10.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001112/0.4948, allocations: 235.8 kB / 0.6376 GB, free: 9.945 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.001769/0.4966, allocations: 0.5009 MB / 0.638 GB, free: 9.445 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009954/0.4976, allocations: 284.4 kB / 0.6383 GB, free: 9.168 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4976, allocations: 192 / 0.6383 GB, free: 9.168 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004437/0.4981, allocations: 115.8 kB / 0.6384 GB, free: 9.055 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/0.5005, allocations: 376.3 kB / 0.6388 GB, free: 8.684 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/0.5044, allocations: 2.051 MB / 0.6408 GB, free: 6.598 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009117/0.5053, allocations: 1.11 MB / 0.6419 GB, free: 5.457 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005533/0.5059, allocations: 228.6 kB / 0.6421 GB, free: 5.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.5061, allocations: 79.42 kB / 0.6422 GB, free: 5.156 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5061, allocations: 0 / 0.6422 GB, free: 5.156 MB / 462.1 MB Notification: Performance of Templates: time 0.02747/0.5336, allocations: 17.97 MB / 0.6597 GB, free: 3.156 MB / 478.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 -s gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1)