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.001858/0.001858, allocations: 103.2 kB / 17.59 MB, free: 5.43 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.002166/0.002166, allocations: 191.3 kB / 18.52 MB, free: 4.508 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.472/1.472, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3057/0.3057, allocations: 48.85 MB / 320.6 MB, free: 11.1 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.001742/0.001742, allocations: 69.66 kB / 390.7 MB, free: 48.85 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09718/0.09894, allocations: 59.16 MB / 449.9 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT_ISO): time 0.4458/0.5448, allocations: 194.7 MB / 0.6295 GB, free: 1.773 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004412/0.5493, allocations: 2.028 MB / 0.6315 GB, free: 112 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006751/0.55, allocations: 13.47 kB / 0.6315 GB, free: 108 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.5514, allocations: 432 kB / 0.6319 GB, free: 15.75 MB / 462.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.001394/0.5528, allocations: 0.6286 MB / 0.6325 GB, free: 15.25 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002697/0.5555, allocations: 0.9969 MB / 0.6335 GB, free: 14.49 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00252/0.558, allocations: 1.89 MB / 0.6354 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.5592, allocations: 0.681 MB / 0.636 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.5607, allocations: 0.7787 MB / 0.6368 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008917/0.5616, allocations: 0.6228 MB / 0.6374 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.5618, allocations: 88 kB / 0.6375 GB, free: 10.52 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.5639, allocations: 0.8769 MB / 0.6383 GB, free: 9.641 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005479/0.5645, allocations: 0.5962 MB / 0.6389 GB, free: 9.043 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008233/0.5653, allocations: 0.7194 MB / 0.6396 GB, free: 8.32 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002711/0.568, allocations: 2.022 MB / 0.6416 GB, free: 6.293 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5681, allocations: 4 kB / 0.6416 GB, free: 6.289 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5681, allocations: 0 / 0.6416 GB, free: 6.289 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.716e-05/0.5681, allocations: 0 / 0.6416 GB, free: 6.289 MB / 462.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.002851/0.571, allocations: 1.578 MB / 0.6431 GB, free: 4.656 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.571, allocations: 11.89 kB / 0.6431 GB, free: 4.645 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009992/0.572, allocations: 238.2 kB / 0.6434 GB, free: 4.41 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.5731, allocations: 0.7518 MB / 0.6441 GB, free: 3.617 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.306e-05/0.5732, allocations: 77.97 kB / 0.6442 GB, free: 3.539 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.5733, allocations: 84 kB / 0.6443 GB, free: 3.457 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.5752, allocations: 1.252 MB / 0.6455 GB, free: 2.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.5752, allocations: 0 / 0.6455 GB, free: 2.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.5754, allocations: 48 kB / 0.6455 GB, free: 2.113 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.54e-05/0.5754, allocations: 37.98 kB / 0.6456 GB, free: 2.074 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.5769, allocations: 0.9329 MB / 0.6465 GB, free: 1.145 MB / 462.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.007802/0.5847, allocations: 5.069 MB / 0.6514 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008535/0.5856, allocations: 394.6 kB / 0.6518 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.5859, allocations: 177.6 kB / 0.652 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.737e-05/0.5859, allocations: 15.97 kB / 0.652 GB, free: 11.13 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.586, allocations: 50.5 kB / 0.652 GB, free: 11.07 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.104e-06/0.586, allocations: 0 / 0.652 GB, free: 11.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=40): time 0.003303/0.5893, allocations: 0.9597 MB / 0.653 GB, free: 10.08 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.069e-05/0.5894, allocations: 132.5 kB / 0.6531 GB, free: 9.922 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/0.5917, allocations: 1.554 MB / 0.6546 GB, free: 8.355 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.5919, allocations: 37.7 kB / 0.6547 GB, free: 8.312 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004925/0.5924, allocations: 0.5627 MB / 0.6552 GB, free: 7.746 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.5925, allocations: 142 kB / 0.6553 GB, free: 7.605 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.5927, allocations: 134.1 kB / 0.6555 GB, free: 7.469 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5929, allocations: 329.9 kB / 0.6558 GB, free: 7.141 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004366/0.5933, allocations: 239.3 kB / 0.656 GB, free: 6.902 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005789/0.5939, allocations: 440.5 kB / 0.6564 GB, free: 6.379 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009673/0.5949, allocations: 0.6148 MB / 0.657 GB, free: 5.68 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.5949, allocations: 0 / 0.657 GB, free: 5.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001837/0.5968, allocations: 0.8878 MB / 0.6579 GB, free: 4.781 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.5968, allocations: 11.98 kB / 0.6579 GB, free: 4.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.5968, allocations: 8.047 kB / 0.6579 GB, free: 4.762 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001623/0.5985, allocations: 250.1 kB / 0.6582 GB, free: 4.516 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006487/0.5991, allocations: 136.7 kB / 0.6583 GB, free: 4.383 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.6006, allocations: 1.423 MB / 0.6597 GB, free: 2.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008815/0.6015, allocations: 106.8 kB / 0.6598 GB, free: 2.805 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.141e-05/0.6016, allocations: 32.09 kB / 0.6598 GB, free: 2.773 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009532/0.6025, allocations: 0.509 MB / 0.6603 GB, free: 2.262 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005723/0.6031, allocations: 433 kB / 0.6607 GB, free: 1.746 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008771/0.604, allocations: 0.6175 MB / 0.6613 GB, free: 1.039 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.067e-06/0.604, allocations: 7.938 kB / 0.6613 GB, free: 1.031 MB / 478.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001957/0.606, allocations: 0.8528 MB / 0.6622 GB, free: 172 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.606, allocations: 8 kB / 0.6622 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.606, allocations: 8 kB / 0.6622 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004668/0.6065, allocations: 84.72 kB / 0.6623 GB, free: 68 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007274/0.6072, allocations: 163.9 kB / 0.6624 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.6086, allocations: 1.818 MB / 0.6642 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008919/0.6095, allocations: 59.5 kB / 0.6642 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-05/0.6096, allocations: 32 kB / 0.6643 GB, free: 13.93 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 (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003839/0.61, allocations: 223.9 kB / 0.6645 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003641/0.6104, allocations: 126.5 kB / 0.6646 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.6119, allocations: 0.5949 MB / 0.6652 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.6119, allocations: 4 kB / 0.6652 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.6119, allocations: 4 kB / 0.6652 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.612, allocations: 3.984 kB / 0.6652 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.614, allocations: 1.05 MB / 0.6662 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.6141, allocations: 0 / 0.6662 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.6144, allocations: 67.89 kB / 0.6663 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/0.6157, allocations: 220.7 kB / 0.6665 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.6157, allocations: 19.88 kB / 0.6665 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.617, allocations: 1.39 MB / 0.6679 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.617, allocations: 0 / 0.6679 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.6188, allocations: 0.8941 MB / 0.6687 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006343/0.6194, allocations: 295.6 kB / 0.669 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/0.6197, allocations: 8 kB / 0.669 GB, free: 8.871 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008783/0.6206, allocations: 44.25 kB / 0.6691 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.898e-05/0.6207, allocations: 23.97 kB / 0.6691 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.707e-05/0.6208, allocations: 35.95 kB / 0.6691 GB, free: 8.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001608/0.6224, allocations: 1.1 MB / 0.6702 GB, free: 7.664 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6224, allocations: 0 / 0.6702 GB, free: 7.664 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001755/0.6242, allocations: 0.5461 MB / 0.6707 GB, free: 7.117 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 (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00192/0.6261, allocations: 0.5893 MB / 0.6713 GB, free: 6.523 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002501/0.6286, allocations: 0.924 MB / 0.6722 GB, free: 5.602 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/0.6286, allocations: 4.656 kB / 0.6722 GB, free: 5.598 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006281/0.6293, allocations: 231.7 kB / 0.6724 GB, free: 5.371 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003042/0.6323, allocations: 0.5746 MB / 0.673 GB, free: 4.793 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/0.636, allocations: 2.049 MB / 0.675 GB, free: 2.695 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007984/0.6369, allocations: 1.108 MB / 0.6761 GB, free: 1.559 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/0.6371, allocations: 71.44 kB / 0.6762 GB, free: 1.488 MB / 494.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6371, allocations: 4 kB / 0.6762 GB, free: 1.484 MB / 494.1 MB Notification: Performance of Templates: time 0.03991/0.677, allocations: 26.69 MB / 0.7022 GB, free: 6.742 MB / 0.5137 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.makefile (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)