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.001029/0.001029, allocations: 90.12 kB / 16.31 MB, free: 6.461 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.001585/0.001585, allocations: 183.9 kB / 17.21 MB, free: 6.336 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.495/1.495, allocations: 205.4 MB / 223.4 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2984/0.2984, allocations: 48.78 MB / 320.4 MB, free: 11.23 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.0005109/0.0005109, allocations: 12.25 kB / 391.2 MB, free: 50.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1104, allocations: 60.27 MB / 451.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValveOpPoint): time 0.4754/0.5858, allocations: 192.4 MB / 0.6288 GB, free: 7.219 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005817/0.5917, allocations: 2.944 MB / 0.6317 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.5928, allocations: 18.41 kB / 0.6317 GB, free: 4.766 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.5943, allocations: 433.6 kB / 0.6321 GB, free: 4.398 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.5962, allocations: 0.8416 MB / 0.6329 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003314/0.5995, allocations: 1.163 MB / 0.634 GB, free: 2.871 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003645/0.6032, allocations: 3.297 MB / 0.6373 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.6044, allocations: 0.8159 MB / 0.6381 GB, free: 400 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.6062, allocations: 1.016 MB / 0.639 GB, free: 15.37 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.6075, allocations: 1.036 MB / 0.6401 GB, free: 14.33 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.6077, allocations: 72 kB / 0.6401 GB, free: 14.26 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002766/0.6105, allocations: 1.236 MB / 0.6413 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006937/0.6112, allocations: 0.7677 MB / 0.6421 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000457/0.6117, allocations: 376.9 kB / 0.6424 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.6139, allocations: 2.136 MB / 0.6445 GB, free: 9.738 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.614, allocations: 8 kB / 0.6445 GB, free: 9.73 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.614, allocations: 0 / 0.6445 GB, free: 9.73 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.271e-05/0.614, allocations: 0 / 0.6445 GB, free: 9.73 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003665/0.6177, allocations: 1.767 MB / 0.6463 GB, free: 7.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.6177, allocations: 12.03 kB / 0.6463 GB, free: 7.898 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.6191, allocations: 325.8 kB / 0.6466 GB, free: 7.578 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.6206, allocations: 0.8263 MB / 0.6474 GB, free: 6.707 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.057e-05/0.6207, allocations: 106.7 kB / 0.6475 GB, free: 6.602 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.6209, allocations: 145 kB / 0.6476 GB, free: 6.461 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003117/0.624, allocations: 1.83 MB / 0.6494 GB, free: 4.602 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.624, allocations: 0 / 0.6494 GB, free: 4.602 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/0.6242, allocations: 68 kB / 0.6495 GB, free: 4.535 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.6242, allocations: 32 kB / 0.6495 GB, free: 4.504 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002728/0.627, allocations: 1.569 MB / 0.651 GB, free: 2.934 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.01025/0.6372, allocations: 5.905 MB / 0.6568 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003025/0.6403, allocations: 1.188 MB / 0.658 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007067/0.641, allocations: 365.5 kB / 0.6583 GB, free: 11.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-05/0.6411, allocations: 19.92 kB / 0.6583 GB, free: 11.08 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.91e-05/0.6412, allocations: 59.48 kB / 0.6584 GB, free: 11.02 MB / 478.1 MB Notification: Performance of pre-optimization done (n=62): time 2.805e-06/0.6412, allocations: 3.938 kB / 0.6584 GB, free: 11.01 MB / 478.1 MB Notification: Performance of matching and sorting (n=62): time 0.007357/0.6486, allocations: 2.484 MB / 0.6608 GB, free: 8.477 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.6486, allocations: 89.11 kB / 0.6609 GB, free: 8.371 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/0.6507, allocations: 1.638 MB / 0.6625 GB, free: 6.723 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001832/0.6509, allocations: 49.7 kB / 0.6626 GB, free: 6.668 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004862/0.6514, allocations: 0.6186 MB / 0.6632 GB, free: 6.043 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.6516, allocations: 216.9 kB / 0.6634 GB, free: 5.828 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-05/0.6517, allocations: 20 kB / 0.6634 GB, free: 5.809 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.6518, allocations: 337.9 kB / 0.6637 GB, free: 5.473 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009445/0.6527, allocations: 485.6 kB / 0.6642 GB, free: 4.996 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.6538, allocations: 0.6347 MB / 0.6648 GB, free: 4.301 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.6548, allocations: 0.5168 MB / 0.6653 GB, free: 3.785 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.6549, allocations: 0 / 0.6653 GB, free: 3.785 MB / 478.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003441/0.6583, allocations: 1.529 MB / 0.6668 GB, free: 2.242 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002767/0.6586, allocations: 209.2 kB / 0.667 GB, free: 1.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.6587, allocations: 8 kB / 0.667 GB, free: 1.973 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005326/0.664, allocations: 0.9184 MB / 0.6679 GB, free: 1.051 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.6652, allocations: 243.7 kB / 0.6681 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003435/0.6687, allocations: 4.042 MB / 0.6721 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.6705, allocations: 253.8 kB / 0.6723 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.6706, allocations: 47.97 kB / 0.6724 GB, free: 12.33 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.6707, allocations: 4 kB / 0.6724 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002581/0.6733, allocations: 1.244 MB / 0.6736 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.6733, allocations: 4.125 kB / 0.6736 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004325/0.6737, allocations: 117.6 kB / 0.6737 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.675, allocations: 307.6 kB / 0.674 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004398/0.6794, allocations: 5.446 MB / 0.6793 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.681, allocations: 222.3 kB / 0.6795 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.6812, allocations: 51.97 kB / 0.6796 GB, free: 4.57 MB / 494.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.0009923/0.6822, allocations: 424.8 kB / 0.68 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003625/0.6825, allocations: 166.1 kB / 0.6801 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002654/0.6852, allocations: 1.152 MB / 0.6813 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.6852, allocations: 9.25 kB / 0.6813 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.6852, allocations: 0 / 0.6813 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.6853, allocations: 7.984 kB / 0.6813 GB, free: 2.793 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004517/0.6898, allocations: 2.428 MB / 0.6836 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.6898, allocations: 4 kB / 0.6837 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004494/0.6903, allocations: 120 kB / 0.6838 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00464/0.6949, allocations: 0.8564 MB / 0.6846 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.36e-05/0.695, allocations: 19.98 kB / 0.6846 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003006/0.698, allocations: 4.051 MB / 0.6886 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.698, allocations: 3.938 kB / 0.6886 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/0.7006, allocations: 1.319 MB / 0.6899 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005458/0.7012, allocations: 290.9 kB / 0.6901 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.7014, allocations: 16 kB / 0.6902 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.7026, allocations: 127.9 kB / 0.6903 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.915e-05/0.7028, allocations: 43.92 kB / 0.6903 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.7029, allocations: 67.92 kB / 0.6904 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001454/0.7043, allocations: 1.146 MB / 0.6915 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.91e-07/0.7043, allocations: 0 / 0.6915 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00214/0.7065, allocations: 0.839 MB / 0.6923 GB, free: 7.168 MB / 0.4981 GB 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.001022/0.7075, allocations: 415.9 kB / 0.6927 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004068/0.7116, allocations: 1.907 MB / 0.6946 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.7116, allocations: 5.094 kB / 0.6946 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.7127, allocations: 467.9 kB / 0.695 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004675/0.7174, allocations: 0.9919 MB / 0.696 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/0.7211, allocations: 2.668 MB / 0.6986 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007662/0.7219, allocations: 1.201 MB / 0.6998 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001821/0.7237, allocations: 335.9 kB / 0.7001 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.724, allocations: 103.4 kB / 0.7002 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of SimCode: time 9.01e-07/0.724, allocations: 0 / 0.7002 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of Templates: time 0.2893/1.013, allocations: 41.22 MB / 0.7405 GB, free: 195.4 MB / 0.5294 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: