Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205.1 MB / 223.1 MB, free: 8.457 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 99.97 kB / 270.5 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3582/0.3582, allocations: 48.83 MB / 366.7 MB, free: 46.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001005, allocations: 51.92 kB / 436.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09563/0.09665, allocations: 59.15 MB / 495.7 MB, free: 132 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.3213/0.418, allocations: 168.6 MB / 0.6488 GB, free: 10.62 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.005119/0.4232, allocations: 3.94 MB / 0.6527 GB, free: 6.68 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004132/0.4236, allocations: 7.938 kB / 0.6527 GB, free: 6.672 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008524/0.4245, allocations: 234.8 kB / 0.6529 GB, free: 6.441 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008399/0.4254, allocations: 465.9 kB / 0.6533 GB, free: 5.984 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003577/0.429, allocations: 1.4 MB / 0.6547 GB, free: 4.602 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.4305, allocations: 1.672 MB / 0.6563 GB, free: 2.926 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003909/0.4309, allocations: 313.7 kB / 0.6566 GB, free: 2.625 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005095/0.4314, allocations: 434.3 kB / 0.657 GB, free: 2.199 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004574/0.4319, allocations: 462.3 kB / 0.6575 GB, free: 1.746 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 7.243e-05/0.432, allocations: 35.98 kB / 0.6575 GB, free: 1.711 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002679/0.4347, allocations: 1.68 MB / 0.6592 GB, free: 24 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003104/0.435, allocations: 347 kB / 0.6595 GB, free: 15.68 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003925/0.4354, allocations: 429.6 kB / 0.6599 GB, free: 15.26 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002096/0.4375, allocations: 1.78 MB / 0.6616 GB, free: 13.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4375, allocations: 0 / 0.6616 GB, free: 13.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.4375, allocations: 4 kB / 0.6616 GB, free: 13.47 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.4376, allocations: 7.938 kB / 0.6617 GB, free: 13.46 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001867/0.4394, allocations: 1.26 MB / 0.6629 GB, free: 12.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.4395, allocations: 8.031 kB / 0.6629 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007053/0.4402, allocations: 162.7 kB / 0.663 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009286/0.4411, allocations: 0.6431 MB / 0.6637 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.4412, allocations: 37 kB / 0.6637 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.249e-05/0.4413, allocations: 48 kB / 0.6638 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009126/0.4422, allocations: 0.5957 MB / 0.6643 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.4422, allocations: 3.938 kB / 0.6643 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.086e-05/0.4423, allocations: 27.94 kB / 0.6644 GB, free: 10.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.4423, allocations: 16 kB / 0.6644 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006972/0.443, allocations: 463.8 kB / 0.6648 GB, free: 10.11 MB / 490.7 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.003836/0.4468, allocations: 2.359 MB / 0.6671 GB, free: 7.586 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.4471, allocations: 142.6 kB / 0.6673 GB, free: 7.438 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.011e-05/0.4472, allocations: 52.84 kB / 0.6673 GB, free: 7.383 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/0.4475, allocations: 121.1 kB / 0.6674 GB, free: 7.246 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.4475, allocations: 39.38 kB / 0.6675 GB, free: 7.199 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.442e-06/0.4475, allocations: 4 kB / 0.6675 GB, free: 7.195 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004585/0.448, allocations: 256.8 kB / 0.6677 GB, free: 6.938 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.448, allocations: 51.41 kB / 0.6678 GB, free: 6.875 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.4495, allocations: 1.316 MB / 0.6691 GB, free: 5.535 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.4496, allocations: 33.7 kB / 0.6691 GB, free: 5.496 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/0.4499, allocations: 467 kB / 0.6695 GB, free: 5.035 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.45, allocations: 55.25 kB / 0.6696 GB, free: 4.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.4501, allocations: 77.98 kB / 0.6697 GB, free: 4.898 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4503, allocations: 329.9 kB / 0.67 GB, free: 4.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.4505, allocations: 126 kB / 0.6701 GB, free: 4.445 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.4507, allocations: 256.8 kB / 0.6703 GB, free: 4.137 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.4511, allocations: 324.9 kB / 0.6706 GB, free: 3.758 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4511, allocations: 4 kB / 0.6706 GB, free: 3.754 MB / 490.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006918/0.4518, allocations: 479.9 kB / 0.6711 GB, free: 3.277 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4519, allocations: 4 kB / 0.6711 GB, free: 3.273 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4519, allocations: 8.625 kB / 0.6711 GB, free: 3.266 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.4519, allocations: 4 kB / 0.6711 GB, free: 3.262 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.4523, allocations: 103.8 kB / 0.6712 GB, free: 3.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003465/0.4527, allocations: 0.6099 MB / 0.6718 GB, free: 2.527 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004225/0.4531, allocations: 75.14 kB / 0.6719 GB, free: 2.453 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/0.4532, allocations: 28.83 kB / 0.6719 GB, free: 2.43 MB / 490.7 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: 20 * 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): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003561/0.4535, allocations: 294.2 kB / 0.6722 GB, free: 2.133 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.4537, allocations: 102.8 kB / 0.6723 GB, free: 2.031 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003748/0.4541, allocations: 242.5 kB / 0.6725 GB, free: 1.793 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.4541, allocations: 0 / 0.6725 GB, free: 1.793 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4541, allocations: 0 / 0.6725 GB, free: 1.793 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4541, allocations: 0 / 0.6725 GB, free: 1.793 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006201/0.4547, allocations: 0.5528 MB / 0.6731 GB, free: 1.191 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4547, allocations: 0 / 0.6731 GB, free: 1.191 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.455, allocations: 51.89 kB / 0.6731 GB, free: 1.141 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.455, allocations: 0 / 0.6731 GB, free: 1.141 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.455, allocations: 11.94 kB / 0.6731 GB, free: 1.129 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002912/0.4553, allocations: 0.5977 MB / 0.6737 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4553, allocations: 0 / 0.6737 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01606/0.4714, allocations: 3.895 MB / 0.6775 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002748/0.4717, allocations: 180 kB / 0.6777 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.292e-05/0.4718, allocations: 12.06 kB / 0.6777 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00044/0.4722, allocations: 23.97 kB / 0.6777 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.4723, allocations: 11.92 kB / 0.6777 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.4723, allocations: 19.98 kB / 0.6778 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001056/0.4734, allocations: 0.9342 MB / 0.6787 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4734, allocations: 0 / 0.6787 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001121/0.4745, allocations: 411.6 kB / 0.6791 GB, free: 10.8 MB / 0.4948 GB 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001935/0.4765, allocations: 0.695 MB / 0.6797 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004893/0.477, allocations: 239.4 kB / 0.68 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.477, allocations: 1.062 kB / 0.68 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.4771, allocations: 67.91 kB / 0.68 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.4787, allocations: 329 kB / 0.6803 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.4809, allocations: 1.92 MB / 0.6822 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/0.4815, allocations: 0.9923 MB / 0.6832 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005168/0.482, allocations: 169.6 kB / 0.6833 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.4822, allocations: 67.36 kB / 0.6834 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.4822, allocations: 0 / 0.6834 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of Templates: time 0.1908/0.673, allocations: 21.97 MB / 0.7049 GB, free: 162.1 MB / 0.4948 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1)