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.0008602/0.0008604, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.0009951/0.0009952, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.436/1.436, allocations: 205.4 MB / 223.7 MB, free: 12.98 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3025/0.3025, allocations: 48.79 MB / 320.8 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.0005044/0.0005045, allocations: 17.27 kB / 391.8 MB, free: 50.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09624/0.09676, allocations: 60.27 MB / 452.1 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT_ISO): time 0.427/0.5238, allocations: 190.6 MB / 0.6276 GB, free: 8.695 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004321/0.5282, allocations: 2.058 MB / 0.6296 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007769/0.529, allocations: 10.19 kB / 0.6296 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.5304, allocations: 381.6 kB / 0.63 GB, free: 6.707 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.532, allocations: 0.6051 MB / 0.6306 GB, free: 6.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002777/0.5348, allocations: 0.9163 MB / 0.6315 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002627/0.5374, allocations: 2.509 MB / 0.6339 GB, free: 4.223 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.5387, allocations: 0.5855 MB / 0.6345 GB, free: 3.871 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.5407, allocations: 0.6769 MB / 0.6351 GB, free: 3.543 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.5423, allocations: 0.6649 MB / 0.6358 GB, free: 3.031 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002901/0.5426, allocations: 44 kB / 0.6358 GB, free: 2.988 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002434/0.5451, allocations: 1.115 MB / 0.6369 GB, free: 1.871 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006016/0.5457, allocations: 0.561 MB / 0.6375 GB, free: 1.309 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.5468, allocations: 0.6781 MB / 0.6381 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002704/0.5495, allocations: 2.06 MB / 0.6401 GB, free: 14.55 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5495, allocations: 4 kB / 0.6401 GB, free: 14.55 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5495, allocations: 0 / 0.6401 GB, free: 14.55 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.76e-05/0.5496, allocations: 0 / 0.6401 GB, free: 14.55 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.003035/0.5526, allocations: 1.293 MB / 0.6414 GB, free: 13.2 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.5527, allocations: 8.031 kB / 0.6414 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.5539, allocations: 238.2 kB / 0.6416 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.5554, allocations: 0.7558 MB / 0.6424 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-05/0.5555, allocations: 66 kB / 0.6424 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/0.5557, allocations: 95.92 kB / 0.6425 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/0.5578, allocations: 1.244 MB / 0.6438 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.247e-05/0.5579, allocations: 7.875 kB / 0.6438 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.558, allocations: 40 kB / 0.6438 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-05/0.558, allocations: 49.98 kB / 0.6438 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.5595, allocations: 0.9366 MB / 0.6448 GB, free: 9.684 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.006877/0.5664, allocations: 5.013 MB / 0.6497 GB, free: 4.316 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000833/0.5673, allocations: 398.7 kB / 0.65 GB, free: 3.91 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/0.5676, allocations: 193.6 kB / 0.6502 GB, free: 3.715 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.031e-05/0.5676, allocations: 15.97 kB / 0.6502 GB, free: 3.699 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.5677, allocations: 42.56 kB / 0.6503 GB, free: 3.648 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.645e-06/0.5677, allocations: 0 / 0.6503 GB, free: 3.648 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.003047/0.5708, allocations: 0.9792 MB / 0.6512 GB, free: 2.641 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.748e-05/0.5709, allocations: 136.5 kB / 0.6514 GB, free: 2.477 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001824/0.5727, allocations: 1.55 MB / 0.6529 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.48e-05/0.5728, allocations: 41.73 kB / 0.6529 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004602/0.5732, allocations: 0.5587 MB / 0.6535 GB, free: 312 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.5734, allocations: 142 kB / 0.6536 GB, free: 168 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.023e-05/0.5735, allocations: 53.69 kB / 0.6536 GB, free: 108 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.5736, allocations: 333.9 kB / 0.654 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000416/0.5741, allocations: 229.2 kB / 0.6542 GB, free: 15.55 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006359/0.5747, allocations: 448.5 kB / 0.6546 GB, free: 15.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009272/0.5757, allocations: 0.6148 MB / 0.6552 GB, free: 14.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.5757, allocations: 4 kB / 0.6552 GB, free: 14.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001554/0.5772, allocations: 0.8837 MB / 0.6561 GB, free: 13.42 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002214/0.5775, allocations: 273.7 kB / 0.6563 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.5775, allocations: 7.984 kB / 0.6563 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00163/0.5791, allocations: 249.4 kB / 0.6566 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006191/0.5798, allocations: 139.7 kB / 0.6567 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.5812, allocations: 1.416 MB / 0.6581 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008942/0.5821, allocations: 130.7 kB / 0.6582 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.323e-05/0.5822, allocations: 35.98 kB / 0.6583 GB, free: 11.05 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.5822, allocations: 4 kB / 0.6583 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001402/0.5836, allocations: 0.7161 MB / 0.659 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.5836, allocations: 8 kB / 0.659 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004113/0.584, allocations: 92.8 kB / 0.6591 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006623/0.5847, allocations: 155.8 kB / 0.6592 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.586, allocations: 1.814 MB / 0.661 GB, free: 8.184 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006748/0.5867, allocations: 119 kB / 0.6611 GB, free: 8.066 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.971e-05/0.5868, allocations: 35.92 kB / 0.6611 GB, free: 8.031 MB / 478.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.0007073/0.5875, allocations: 436.8 kB / 0.6615 GB, free: 7.594 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.5877, allocations: 130.5 kB / 0.6617 GB, free: 7.465 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.5891, allocations: 0.614 MB / 0.6623 GB, free: 6.84 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.5891, allocations: 8 kB / 0.6623 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.5892, allocations: 4 kB / 0.6623 GB, free: 6.828 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5892, allocations: 0 / 0.6623 GB, free: 6.828 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.5907, allocations: 1.035 MB / 0.6633 GB, free: 5.734 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5908, allocations: 4 kB / 0.6633 GB, free: 5.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003639/0.5911, allocations: 67.95 kB / 0.6634 GB, free: 5.664 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001121/0.5923, allocations: 228.7 kB / 0.6636 GB, free: 5.438 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.5923, allocations: 24.11 kB / 0.6636 GB, free: 5.414 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.5936, allocations: 1.396 MB / 0.665 GB, free: 3.969 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5936, allocations: 0 / 0.665 GB, free: 3.969 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.5953, allocations: 0.9142 MB / 0.6659 GB, free: 3.031 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004436/0.5957, allocations: 299.5 kB / 0.6661 GB, free: 2.719 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.5959, allocations: 8 kB / 0.6662 GB, free: 2.711 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008489/0.5967, allocations: 63.94 kB / 0.6662 GB, free: 2.648 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.86e-05/0.5968, allocations: 27.95 kB / 0.6662 GB, free: 2.621 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.844e-05/0.5969, allocations: 27.97 kB / 0.6663 GB, free: 2.594 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001446/0.5983, allocations: 1.096 MB / 0.6673 GB, free: 1.492 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5984, allocations: 0 / 0.6673 GB, free: 1.492 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001549/0.5999, allocations: 0.55 MB / 0.6679 GB, free: 0.9414 MB / 478.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.00163/0.6015, allocations: 0.5992 MB / 0.6685 GB, free: 340 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002245/0.6038, allocations: 0.9045 MB / 0.6693 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.6038, allocations: 4.656 kB / 0.6693 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005943/0.6044, allocations: 248.4 kB / 0.6696 GB, free: 15.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/0.6072, allocations: 0.5474 MB / 0.6701 GB, free: 14.63 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004087/0.6113, allocations: 2.356 MB / 0.6724 GB, free: 12.24 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.6124, allocations: 1.112 MB / 0.6735 GB, free: 11.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001164/0.6136, allocations: 268.2 kB / 0.6738 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.6138, allocations: 71.38 kB / 0.6738 GB, free: 10.77 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6138, allocations: 0 / 0.6738 GB, free: 10.77 MB / 494.1 MB Notification: Performance of Templates: time 0.04193/0.6558, allocations: 25.18 MB / 0.6984 GB, free: 1.531 MB / 0.4981 GB 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: