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.001151/0.001151, allocations: 96.22 kB / 16.3 MB, free: 6.457 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.001465/0.001465, allocations: 173 kB / 17.19 MB, free: 6.348 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.491/1.491, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3579/0.3579, allocations: 48.77 MB / 320.4 MB, free: 11.33 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.0005111/0.0005116, allocations: 13.28 kB / 391.1 MB, free: 50.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.123, allocations: 60.27 MB / 451.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT_ISO): time 0.4712/0.5943, allocations: 149.7 MB / 0.587 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00394/0.5983, allocations: 1.921 MB / 0.5889 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006574/0.599, allocations: 15.56 kB / 0.5889 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.6001, allocations: 323.8 kB / 0.5892 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.6016, allocations: 0.4988 MB / 0.5897 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00237/0.604, allocations: 0.7502 MB / 0.5904 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001606/0.6056, allocations: 1.051 MB / 0.5915 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008094/0.6064, allocations: 0.5505 MB / 0.592 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.6077, allocations: 0.7376 MB / 0.5927 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005588/0.6083, allocations: 458.1 kB / 0.5932 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.6084, allocations: 41.94 kB / 0.5932 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.6099, allocations: 0.5826 MB / 0.5938 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000447/0.6104, allocations: 0.5317 MB / 0.5943 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002648/0.6107, allocations: 276.7 kB / 0.5945 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.6122, allocations: 1.481 MB / 0.596 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.6122, allocations: 0 / 0.596 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6122, allocations: 4 kB / 0.596 GB, free: 11.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.6122, allocations: 0 / 0.596 GB, free: 11.61 MB / 430.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.002166/0.6144, allocations: 1.311 MB / 0.5973 GB, free: 10.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.6144, allocations: 7.75 kB / 0.5973 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009259/0.6154, allocations: 244.7 kB / 0.5975 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.6166, allocations: 0.7271 MB / 0.5982 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.154e-05/0.6167, allocations: 66.03 kB / 0.5983 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.6168, allocations: 91.67 kB / 0.5984 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.6186, allocations: 1.235 MB / 0.5996 GB, free: 9.777 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.6187, allocations: 3.219 kB / 0.5996 GB, free: 9.777 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.6188, allocations: 42.44 kB / 0.5996 GB, free: 9.777 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.046e-05/0.6188, allocations: 35.94 kB / 0.5997 GB, free: 9.773 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.6202, allocations: 0.9324 MB / 0.6006 GB, free: 9.621 MB / 430.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.007382/0.6275, allocations: 4.966 MB / 0.6054 GB, free: 6.203 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008256/0.6284, allocations: 397.6 kB / 0.6058 GB, free: 6.094 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.224e-05/0.6285, allocations: 10.52 kB / 0.6058 GB, free: 6.094 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/0.6285, allocations: 43.62 kB / 0.6059 GB, free: 6.055 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 3.256e-06/0.6285, allocations: 3.938 kB / 0.6059 GB, free: 6.051 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.002909/0.6314, allocations: 0.9721 MB / 0.6068 GB, free: 5.672 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.835e-05/0.6315, allocations: 137.9 kB / 0.6069 GB, free: 5.512 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.6333, allocations: 1.539 MB / 0.6084 GB, free: 5.117 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.432e-05/0.6334, allocations: 37.67 kB / 0.6085 GB, free: 5.086 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/0.6338, allocations: 0.5626 MB / 0.609 GB, free: 4.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.6339, allocations: 143.7 kB / 0.6092 GB, free: 4.738 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.634, allocations: 11.41 kB / 0.6092 GB, free: 4.738 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.6341, allocations: 342.2 kB / 0.6095 GB, free: 4.414 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.6344, allocations: 229.5 kB / 0.6097 GB, free: 4.375 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004841/0.6349, allocations: 440.5 kB / 0.6101 GB, free: 4.078 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004421/0.6354, allocations: 293.5 kB / 0.6104 GB, free: 4.031 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.6354, allocations: 0 / 0.6104 GB, free: 4.031 MB / 430.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001395/0.6368, allocations: 0.8832 MB / 0.6113 GB, free: 3.789 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000879/0.6377, allocations: 2.462 MB / 0.6137 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.6377, allocations: 5.719 kB / 0.6137 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/0.6392, allocations: 259.2 kB / 0.6139 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/0.6398, allocations: 138.8 kB / 0.6141 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.641, allocations: 1.41 MB / 0.6155 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009636/0.642, allocations: 131.6 kB / 0.6156 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.314e-05/0.6421, allocations: 29.88 kB / 0.6156 GB, free: 15.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.6421, allocations: 2.562 kB / 0.6156 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001291/0.6434, allocations: 0.7258 MB / 0.6163 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.6434, allocations: 4.906 kB / 0.6163 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004148/0.6438, allocations: 90.86 kB / 0.6164 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006264/0.6445, allocations: 167.1 kB / 0.6166 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.6455, allocations: 1.821 MB / 0.6183 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009083/0.6464, allocations: 115.8 kB / 0.6185 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.392e-05/0.6465, allocations: 29.16 kB / 0.6185 GB, free: 13.82 MB / 446.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.000822/0.6473, allocations: 441 kB / 0.6189 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/0.6475, allocations: 125.4 kB / 0.619 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.6488, allocations: 0.5959 MB / 0.6196 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.6488, allocations: 5.406 kB / 0.6196 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.6488, allocations: 0 / 0.6196 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.6488, allocations: 6.141 kB / 0.6196 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.6505, allocations: 1.041 MB / 0.6206 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.6505, allocations: 0 / 0.6206 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003491/0.6509, allocations: 68.41 kB / 0.6207 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001124/0.652, allocations: 234.8 kB / 0.6209 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.652, allocations: 13.45 kB / 0.6209 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/0.6532, allocations: 1.397 MB / 0.6223 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.6532, allocations: 4 kB / 0.6223 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.6548, allocations: 0.9334 MB / 0.6232 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006894/0.6555, allocations: 301.8 kB / 0.6235 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.6556, allocations: 7.188 kB / 0.6235 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007849/0.6564, allocations: 72.59 kB / 0.6236 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.77e-05/0.6565, allocations: 31.64 kB / 0.6236 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.303e-05/0.6566, allocations: 28.91 kB / 0.6236 GB, free: 10.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001488/0.6581, allocations: 1.092 MB / 0.6247 GB, free: 9.406 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6581, allocations: 0 / 0.6247 GB, free: 9.406 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001683/0.6598, allocations: 0.5433 MB / 0.6252 GB, free: 8.895 MB / 446.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.0014/0.6612, allocations: 0.5164 MB / 0.6257 GB, free: 8.402 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002054/0.6633, allocations: 0.9197 MB / 0.6266 GB, free: 7.609 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.6633, allocations: 4.656 kB / 0.6266 GB, free: 7.605 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005474/0.6639, allocations: 230.7 kB / 0.6269 GB, free: 7.383 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002529/0.6664, allocations: 0.5318 MB / 0.6274 GB, free: 6.848 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.6696, allocations: 2.237 MB / 0.6296 GB, free: 4.574 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007733/0.6704, allocations: 1.131 MB / 0.6307 GB, free: 3.414 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001056/0.6715, allocations: 264.2 kB / 0.6309 GB, free: 3.152 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.6717, allocations: 73.41 kB / 0.631 GB, free: 3.082 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.6717, allocations: 0 / 0.631 GB, free: 3.082 MB / 446.1 MB Notification: Performance of Templates: time 0.03677/0.7084, allocations: 24.78 MB / 0.6552 GB, free: 10.27 MB / 478.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: