Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.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.TestGT_ISO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO") translateModel(ThermoPower.Test.GasComponents.TestGT_ISO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009097/0.0009099, allocations: 91.62 kB / 16.31 MB, free: 6.008 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.0009425/0.0009427, allocations: 184.8 kB / 17.21 MB, free: 5.902 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.477/1.477, allocations: 205.4 MB / 223.4 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4838/0.4838, allocations: 48.78 MB / 320.4 MB, free: 3.824 MB / 254.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.0005415/0.0005417, allocations: 20 kB / 391.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1455, allocations: 60.26 MB / 451.4 MB, free: 1.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT_ISO): time 0.4636/0.6091, allocations: 177.5 MB / 0.6142 GB, free: 11.58 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004292/0.6135, allocations: 1.98 MB / 0.6161 GB, free: 9.594 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005038/0.614, allocations: 7.938 kB / 0.6161 GB, free: 9.586 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.6151, allocations: 298.1 kB / 0.6164 GB, free: 9.293 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001209/0.6163, allocations: 0.6102 MB / 0.617 GB, free: 8.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.6186, allocations: 0.7504 MB / 0.6177 GB, free: 7.941 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002328/0.6209, allocations: 2.101 MB / 0.6198 GB, free: 5.836 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008474/0.6218, allocations: 0.54 MB / 0.6203 GB, free: 5.297 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.623, allocations: 0.6812 MB / 0.621 GB, free: 4.613 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008618/0.6239, allocations: 0.6619 MB / 0.6216 GB, free: 3.949 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.624, allocations: 44 kB / 0.6217 GB, free: 3.906 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.6261, allocations: 0.8383 MB / 0.6225 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005726/0.6266, allocations: 0.565 MB / 0.623 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003466/0.627, allocations: 277 kB / 0.6233 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.6287, allocations: 1.534 MB / 0.6248 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.218e-05/0.6288, allocations: 4 kB / 0.6248 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.6288, allocations: 4 kB / 0.6248 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.561e-05/0.6288, allocations: 0 / 0.6248 GB, free: 0.6797 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.3048/0.9336, allocations: 1.312 MB / 0.6261 GB, free: 157.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.237e-05/0.9337, allocations: 11.62 kB / 0.6261 GB, free: 157.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.9352, allocations: 228.6 kB / 0.6263 GB, free: 157.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.9369, allocations: 0.7264 MB / 0.627 GB, free: 156.9 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.62e-05/0.937, allocations: 69.97 kB / 0.6271 GB, free: 156.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.9371, allocations: 90.47 kB / 0.6272 GB, free: 156.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/0.9395, allocations: 1.244 MB / 0.6284 GB, free: 156.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.9395, allocations: 0 / 0.6284 GB, free: 156.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.9396, allocations: 43.19 kB / 0.6284 GB, free: 156.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.024e-05/0.9397, allocations: 43.67 kB / 0.6285 GB, free: 156.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.9412, allocations: 0.9297 MB / 0.6294 GB, free: 156.7 MB / 494.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.006794/0.948, allocations: 5.021 MB / 0.6343 GB, free: 153.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007345/0.9487, allocations: 394.8 kB / 0.6347 GB, free: 153.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.949, allocations: 184.8 kB / 0.6348 GB, free: 153.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.015e-05/0.9491, allocations: 5.688 kB / 0.6348 GB, free: 153.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.9491, allocations: 51 kB / 0.6349 GB, free: 153.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=40): time 2.996e-06/0.9491, allocations: 1.688 kB / 0.6349 GB, free: 153.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=40): time 0.002769/0.9519, allocations: 0.9893 MB / 0.6359 GB, free: 153.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.952, allocations: 135.7 kB / 0.636 GB, free: 153 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.9537, allocations: 1.542 MB / 0.6375 GB, free: 152.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-05/0.9538, allocations: 36.83 kB / 0.6375 GB, free: 152.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/0.9542, allocations: 0.5551 MB / 0.6381 GB, free: 152 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.9543, allocations: 141.1 kB / 0.6382 GB, free: 151.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.9543, allocations: 15.28 kB / 0.6382 GB, free: 151.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.9544, allocations: 331.2 kB / 0.6385 GB, free: 151.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.9548, allocations: 233.5 kB / 0.6388 GB, free: 151.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004553/0.9552, allocations: 446.5 kB / 0.6392 GB, free: 151.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004201/0.9557, allocations: 292.3 kB / 0.6395 GB, free: 151.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.9557, allocations: 3.062 kB / 0.6395 GB, free: 151.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001323/0.957, allocations: 0.884 MB / 0.6403 GB, free: 150.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001887/0.9572, allocations: 276.8 kB / 0.6406 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.9572, allocations: 9.25 kB / 0.6406 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.9587, allocations: 256.4 kB / 0.6408 GB, free: 150.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/0.9593, allocations: 140.9 kB / 0.641 GB, free: 150.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.9605, allocations: 1.412 MB / 0.6424 GB, free: 149.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009826/0.9615, allocations: 130.6 kB / 0.6425 GB, free: 149 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.596e-05/0.9615, allocations: 36.38 kB / 0.6425 GB, free: 149 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.9616, allocations: 5.781 kB / 0.6425 GB, free: 149 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001334/0.9629, allocations: 0.7202 MB / 0.6432 GB, free: 148.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.9629, allocations: 6.469 kB / 0.6432 GB, free: 148.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003836/0.9633, allocations: 89.5 kB / 0.6433 GB, free: 148.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006223/0.9639, allocations: 156.4 kB / 0.6435 GB, free: 148.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008338/0.9648, allocations: 1.821 MB / 0.6452 GB, free: 147 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008006/0.9656, allocations: 119.3 kB / 0.6454 GB, free: 146.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.035e-05/0.9657, allocations: 28.5 kB / 0.6454 GB, free: 146.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 11} Notification: Performance of prepare postOptimizeDAE: time 0.0009209/0.9666, allocations: 440.3 kB / 0.6458 GB, free: 146.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004553/0.9671, allocations: 122.2 kB / 0.6459 GB, free: 146.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.9686, allocations: 0.6124 MB / 0.6465 GB, free: 146.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.9687, allocations: 5.125 kB / 0.6465 GB, free: 146.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.9687, allocations: 0.9688 kB / 0.6465 GB, free: 146.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.9687, allocations: 1.828 kB / 0.6465 GB, free: 146.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.9704, allocations: 1.043 MB / 0.6475 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.9705, allocations: 1.312 kB / 0.6476 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/0.9709, allocations: 69.44 kB / 0.6476 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/0.972, allocations: 223 kB / 0.6478 GB, free: 145.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.972, allocations: 9.359 kB / 0.6478 GB, free: 145.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.9732, allocations: 1.402 MB / 0.6492 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.9733, allocations: 1.188 kB / 0.6492 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.9754, allocations: 0.8946 MB / 0.6501 GB, free: 144 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007368/0.9761, allocations: 305.8 kB / 0.6504 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.9763, allocations: 9.625 kB / 0.6504 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000783/0.9771, allocations: 60.39 kB / 0.6504 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.9772, allocations: 34.5 kB / 0.6505 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.781e-05/0.9773, allocations: 33.3 kB / 0.6505 GB, free: 143.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001857/0.9792, allocations: 1.093 MB / 0.6516 GB, free: 143.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.9792, allocations: 1.062 kB / 0.6516 GB, free: 143.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002031/0.9812, allocations: 0.5447 MB / 0.6521 GB, free: 143.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ConstantSpeed1.phi) * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001685/0.9829, allocations: 0.5354 MB / 0.6526 GB, free: 143.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002576/0.9855, allocations: 0.9119 MB / 0.6535 GB, free: 142.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/0.9855, allocations: 7.219 kB / 0.6535 GB, free: 142.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005884/0.9861, allocations: 230.2 kB / 0.6537 GB, free: 142.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002868/0.989, allocations: 0.5625 MB / 0.6543 GB, free: 142.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/0.9929, allocations: 2.23 MB / 0.6565 GB, free: 141.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.9941, allocations: 1.116 MB / 0.6576 GB, free: 140.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001898/0.996, allocations: 262.7 kB / 0.6578 GB, free: 140.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.9962, allocations: 71.31 kB / 0.6579 GB, free: 140.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.523e-06/0.9962, allocations: 0 / 0.6579 GB, free: 140.6 MB / 494.1 MB Notification: Performance of Templates: time 0.04606/1.042, allocations: 24.42 MB / 0.6817 GB, free: 126.1 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe 2>&1) Environment - environmentSimulation: