Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.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.TestGasValveOpPoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint") translateModel(ThermoPower.Test.GasComponents.TestGasValveOpPoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 95.7 kB / 16.3 MB, free: 5.996 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.00104/0.00104, allocations: 182.6 kB / 17.2 MB, free: 5.914 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.425/1.425, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3184/0.3184, allocations: 48.77 MB / 320.4 MB, free: 11.32 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.0005583/0.0005585, allocations: 12.62 kB / 391.1 MB, free: 50.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1057, allocations: 60.27 MB / 451.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValveOpPoint): time 0.4286/0.5344, allocations: 158.6 MB / 0.5957 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00587/0.5403, allocations: 2.855 MB / 0.5985 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.5415, allocations: 22.19 kB / 0.5985 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.5432, allocations: 480.1 kB / 0.5989 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002079/0.5453, allocations: 0.6728 MB / 0.5996 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003769/0.5491, allocations: 1.169 MB / 0.6007 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003287/0.5524, allocations: 1.659 MB / 0.6023 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.5536, allocations: 0.8199 MB / 0.6031 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001897/0.5555, allocations: 1.019 MB / 0.6041 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.5566, allocations: 0.7241 MB / 0.6049 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.5567, allocations: 72.62 kB / 0.6049 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002233/0.559, allocations: 0.8983 MB / 0.6058 GB, free: 9.434 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005969/0.5596, allocations: 0.6955 MB / 0.6065 GB, free: 9.164 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004284/0.56, allocations: 379.7 kB / 0.6068 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002385/0.5624, allocations: 2.08 MB / 0.6089 GB, free: 7.734 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5624, allocations: 4 kB / 0.6089 GB, free: 7.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5625, allocations: 2.469 kB / 0.6089 GB, free: 7.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.621e-05/0.5625, allocations: 0 / 0.6089 GB, free: 7.73 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003979/0.5665, allocations: 1.768 MB / 0.6106 GB, free: 6.512 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.5666, allocations: 12.22 kB / 0.6106 GB, free: 6.508 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.568, allocations: 333.5 kB / 0.6109 GB, free: 6.359 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.5697, allocations: 0.8226 MB / 0.6117 GB, free: 5.715 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.959e-05/0.5698, allocations: 113.5 kB / 0.6118 GB, free: 5.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.57, allocations: 134.4 kB / 0.612 GB, free: 5.617 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003231/0.5732, allocations: 1.822 MB / 0.6138 GB, free: 4.586 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.5733, allocations: 7.875 kB / 0.6138 GB, free: 4.578 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001762/0.5734, allocations: 66.03 kB / 0.6138 GB, free: 4.531 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.5735, allocations: 33.62 kB / 0.6139 GB, free: 4.531 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002666/0.5762, allocations: 1.568 MB / 0.6154 GB, free: 3.805 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.01095/0.5871, allocations: 5.832 MB / 0.6211 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.5905, allocations: 1.188 MB / 0.6222 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-05/0.5906, allocations: 11.98 kB / 0.6223 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.5907, allocations: 66.36 kB / 0.6223 GB, free: 13.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=62): time 3.016e-06/0.5907, allocations: 0 / 0.6223 GB, free: 13.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=62): time 0.008296/0.599, allocations: 2.481 MB / 0.6247 GB, free: 11.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.5991, allocations: 81.11 kB / 0.6248 GB, free: 11.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/0.6015, allocations: 1.642 MB / 0.6264 GB, free: 9.461 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002263/0.6017, allocations: 49.7 kB / 0.6265 GB, free: 9.406 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005018/0.6022, allocations: 0.6186 MB / 0.6271 GB, free: 8.781 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.6024, allocations: 208.9 kB / 0.6273 GB, free: 8.574 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.676e-05/0.6025, allocations: 20 kB / 0.6273 GB, free: 8.555 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.6026, allocations: 337.9 kB / 0.6276 GB, free: 8.219 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.6037, allocations: 485.7 kB / 0.6281 GB, free: 7.742 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.6048, allocations: 0.6308 MB / 0.6287 GB, free: 7.051 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.6059, allocations: 0.5091 MB / 0.6292 GB, free: 6.543 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.902e-06/0.6059, allocations: 0 / 0.6292 GB, free: 6.543 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003371/0.6093, allocations: 1.545 MB / 0.6307 GB, free: 4.984 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006981/0.61, allocations: 1.602 MB / 0.6323 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.61, allocations: 4 kB / 0.6323 GB, free: 3.289 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005629/0.6157, allocations: 0.9031 MB / 0.6331 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.617, allocations: 251.6 kB / 0.6334 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003599/0.6206, allocations: 4.051 MB / 0.6373 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/0.6227, allocations: 257.9 kB / 0.6376 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.6229, allocations: 51.92 kB / 0.6376 GB, free: 13.63 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.6229, allocations: 4 kB / 0.6376 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002852/0.6257, allocations: 1.236 MB / 0.6388 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.6258, allocations: 4 kB / 0.6389 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004489/0.6262, allocations: 109.6 kB / 0.639 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.6276, allocations: 311.7 kB / 0.6393 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004307/0.6319, allocations: 5.464 MB / 0.6446 GB, free: 6.145 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.6337, allocations: 234.4 kB / 0.6448 GB, free: 5.914 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/0.6339, allocations: 43.98 kB / 0.6449 GB, free: 5.871 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 12,1 12} Notification: Performance of prepare postOptimizeDAE: time 0.00105/0.635, allocations: 428.8 kB / 0.6453 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005591/0.6356, allocations: 162.2 kB / 0.6454 GB, free: 5.281 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002775/0.6384, allocations: 1.151 MB / 0.6465 GB, free: 4.113 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.6384, allocations: 7.938 kB / 0.6466 GB, free: 4.105 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.6384, allocations: 7.984 kB / 0.6466 GB, free: 4.098 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.6384, allocations: 0 / 0.6466 GB, free: 4.098 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004801/0.6432, allocations: 2.434 MB / 0.6489 GB, free: 1.578 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6432, allocations: 0 / 0.6489 GB, free: 1.578 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004749/0.6437, allocations: 124 kB / 0.6491 GB, free: 1.457 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005135/0.6489, allocations: 0.8524 MB / 0.6499 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.046e-05/0.6489, allocations: 19.98 kB / 0.6499 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003131/0.6521, allocations: 4.042 MB / 0.6539 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.6521, allocations: 11.89 kB / 0.6539 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002779/0.6549, allocations: 1.429 MB / 0.6553 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005993/0.6555, allocations: 283 kB / 0.6555 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002657/0.6558, allocations: 23.92 kB / 0.6556 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/0.6572, allocations: 119.9 kB / 0.6557 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.6573, allocations: 51.92 kB / 0.6557 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/0.6575, allocations: 59.92 kB / 0.6558 GB, free: 10.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0014/0.6589, allocations: 1.146 MB / 0.6569 GB, free: 9.16 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.824e-06/0.6589, allocations: 0 / 0.6569 GB, free: 9.16 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002197/0.6611, allocations: 0.8428 MB / 0.6577 GB, free: 8.316 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (46): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 13,1 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009917/0.6621, allocations: 384 kB / 0.6581 GB, free: 7.934 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00428/0.6664, allocations: 1.915 MB / 0.66 GB, free: 5.996 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/0.6664, allocations: 5.094 kB / 0.66 GB, free: 5.992 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.6675, allocations: 463.9 kB / 0.6604 GB, free: 5.539 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004241/0.6718, allocations: 0.9665 MB / 0.6613 GB, free: 4.57 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.6754, allocations: 2.647 MB / 0.6639 GB, free: 1.871 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007588/0.6762, allocations: 1.236 MB / 0.6651 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001453/0.6777, allocations: 336.7 kB / 0.6655 GB, free: 284 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.6779, allocations: 99.42 kB / 0.6656 GB, free: 184 kB / 478.1 MB Notification: Performance of SimCode: time 6.41e-07/0.6779, allocations: 4 kB / 0.6656 GB, free: 180 kB / 478.1 MB Notification: Performance of Templates: time 0.06477/0.7427, allocations: 41.83 MB / 0.7064 GB, free: 6.258 MB / 0.5137 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe 2>&1) Environment - environmentSimulation: