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.001634/0.001634, allocations: 89.06 kB / 16.65 MB, free: 6.59 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.001833/0.001833, allocations: 185 kB / 17.57 MB, free: 6.199 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.465/1.465, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2726/0.2726, allocations: 48.79 MB / 320.8 MB, free: 11.11 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.000518/0.0005181, allocations: 12.7 kB / 391.8 MB, free: 50.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1025, allocations: 60.27 MB / 452.1 MB, free: 9.191 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValveOpPoint): time 0.4549/0.5574, allocations: 206.7 MB / 0.6434 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00564/0.5631, allocations: 3.062 MB / 0.6464 GB, free: 8.32 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.5644, allocations: 19.88 kB / 0.6464 GB, free: 8.301 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.5661, allocations: 0.5518 MB / 0.6469 GB, free: 7.746 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.5685, allocations: 0.8238 MB / 0.6477 GB, free: 6.918 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004021/0.5725, allocations: 1.432 MB / 0.6491 GB, free: 5.488 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004378/0.5769, allocations: 3.928 MB / 0.653 GB, free: 1.551 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/0.5785, allocations: 0.8398 MB / 0.6538 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002316/0.5808, allocations: 1 MB / 0.6548 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001484/0.5823, allocations: 1.039 MB / 0.6558 GB, free: 14.66 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.5826, allocations: 72 kB / 0.6558 GB, free: 14.59 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003258/0.5858, allocations: 1.699 MB / 0.6575 GB, free: 12.88 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007821/0.5866, allocations: 0.7402 MB / 0.6582 GB, free: 12.14 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001377/0.588, allocations: 0.9702 MB / 0.6592 GB, free: 11.16 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004487/0.5925, allocations: 2.917 MB / 0.662 GB, free: 8.234 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.5925, allocations: 0 / 0.662 GB, free: 8.234 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.5925, allocations: 0 / 0.662 GB, free: 8.234 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.285e-05/0.5926, allocations: 0 / 0.662 GB, free: 8.234 MB / 478.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.004109/0.5967, allocations: 1.752 MB / 0.6637 GB, free: 6.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.5967, allocations: 12.03 kB / 0.6637 GB, free: 6.418 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.5983, allocations: 325.8 kB / 0.6641 GB, free: 6.098 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.5997, allocations: 0.8492 MB / 0.6649 GB, free: 5.203 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.5998, allocations: 118.7 kB / 0.665 GB, free: 5.086 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.6, allocations: 132 kB / 0.6651 GB, free: 4.957 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003298/0.6033, allocations: 1.853 MB / 0.6669 GB, free: 3.074 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.6033, allocations: 11.88 kB / 0.6669 GB, free: 3.062 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/0.6035, allocations: 60 kB / 0.667 GB, free: 3.004 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.6035, allocations: 35.98 kB / 0.667 GB, free: 2.969 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002786/0.6063, allocations: 1.573 MB / 0.6686 GB, free: 1.395 MB / 478.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.009693/0.616, allocations: 5.909 MB / 0.6743 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003521/0.6196, allocations: 1.192 MB / 0.6755 GB, free: 9.918 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007946/0.6204, allocations: 357.5 kB / 0.6758 GB, free: 9.562 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.466e-05/0.6205, allocations: 29.03 kB / 0.6759 GB, free: 9.535 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.414e-05/0.6205, allocations: 54.36 kB / 0.6759 GB, free: 9.473 MB / 494.1 MB Notification: Performance of pre-optimization done (n=62): time 2.765e-06/0.6205, allocations: 0 / 0.6759 GB, free: 9.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=62): time 0.008495/0.6291, allocations: 2.507 MB / 0.6784 GB, free: 6.914 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.6291, allocations: 89.09 kB / 0.6785 GB, free: 6.809 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002167/0.6313, allocations: 1.65 MB / 0.6801 GB, free: 5.148 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001795/0.6315, allocations: 49.7 kB / 0.6801 GB, free: 5.094 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004962/0.632, allocations: 0.6186 MB / 0.6807 GB, free: 4.469 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.6322, allocations: 212.9 kB / 0.6809 GB, free: 4.258 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.6323, allocations: 81.67 kB / 0.681 GB, free: 4.172 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6324, allocations: 337.9 kB / 0.6813 GB, free: 3.836 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/0.6335, allocations: 0.4898 MB / 0.6818 GB, free: 3.344 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.6347, allocations: 0.6347 MB / 0.6824 GB, free: 2.648 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/0.6367, allocations: 0.9812 MB / 0.6834 GB, free: 1.609 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.6367, allocations: 0 / 0.6834 GB, free: 1.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003391/0.6401, allocations: 1.576 MB / 0.6849 GB, free: 20 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.6403, allocations: 217 kB / 0.6851 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.6403, allocations: 4 kB / 0.6851 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00694/0.6472, allocations: 1.005 MB / 0.6861 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.6485, allocations: 243.7 kB / 0.6863 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003514/0.6521, allocations: 4.046 MB / 0.6903 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.6539, allocations: 245.9 kB / 0.6905 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.6541, allocations: 51.95 kB / 0.6906 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.6541, allocations: 8 kB / 0.6906 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00287/0.657, allocations: 1.252 MB / 0.6918 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.657, allocations: 4 kB / 0.6918 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004763/0.6575, allocations: 113.5 kB / 0.6919 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.6589, allocations: 307.6 kB / 0.6922 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004164/0.6631, allocations: 5.45 MB / 0.6975 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.6646, allocations: 230.3 kB / 0.6978 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.6647, allocations: 47.95 kB / 0.6978 GB, free: 2.238 MB / 0.4981 GB 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 (not torn): 4 * Torn equation systems: 2 * 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): 4 systems {1, 1, 1, 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): 2 systems {(1,12), (1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.00086/0.6655, allocations: 433.2 kB / 0.6982 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003109/0.6659, allocations: 154.2 kB / 0.6984 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002905/0.6688, allocations: 1.156 MB / 0.6995 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.6688, allocations: 8 kB / 0.6995 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.6688, allocations: 3.938 kB / 0.6995 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.6688, allocations: 3.984 kB / 0.6995 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004895/0.6737, allocations: 2.455 MB / 0.7019 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.6738, allocations: 0 / 0.7019 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/0.6743, allocations: 120.1 kB / 0.702 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005954/0.6802, allocations: 0.8486 MB / 0.7028 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-05/0.6803, allocations: 23.98 kB / 0.7029 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003354/0.6837, allocations: 4.043 MB / 0.7068 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.6837, allocations: 4.031 kB / 0.7068 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003022/0.6867, allocations: 1.33 MB / 0.7081 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005644/0.6873, allocations: 291 kB / 0.7084 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/0.6875, allocations: 15.94 kB / 0.7084 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/0.6891, allocations: 119.9 kB / 0.7085 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.6893, allocations: 59.86 kB / 0.7086 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/0.6894, allocations: 63.92 kB / 0.7086 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001602/0.691, allocations: 1.15 MB / 0.7098 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.691, allocations: 0 / 0.7098 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002306/0.6933, allocations: 0.839 MB / 0.7106 GB, free: 4.812 MB / 0.5137 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 (not torn): 4 * Torn equation systems: 2 * 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): 4 systems {1, 1, 1, 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): 2 systems {(1,13), (1,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001238/0.6946, allocations: 475.9 kB / 0.711 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004757/0.6994, allocations: 1.938 MB / 0.7129 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.6994, allocations: 5.094 kB / 0.7129 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.7007, allocations: 467.9 kB / 0.7134 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005448/0.7061, allocations: 0.9918 MB / 0.7144 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/0.71, allocations: 2.81 MB / 0.7171 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007413/0.7107, allocations: 1.209 MB / 0.7183 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001557/0.7123, allocations: 331.9 kB / 0.7186 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.7126, allocations: 99.42 kB / 0.7187 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of SimCode: time 6.61e-07/0.7126, allocations: 4 kB / 0.7187 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of Templates: time 0.262/0.9745, allocations: 42.48 MB / 0.7602 GB, free: 195.7 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: