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.001155/0.001155, allocations: 107.5 kB / 17.74 MB, free: 5.188 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.001198/0.001198, allocations: 188.2 kB / 18.67 MB, free: 4.266 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.418/1.418, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3343/0.3343, allocations: 48.84 MB / 320.7 MB, free: 11.01 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.001455/0.001455, allocations: 71.89 kB / 451.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1391, allocations: 59.14 MB / 0.4984 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValveOpPoint): time 0.5803/0.7195, allocations: 210.9 MB / 0.7043 GB, free: 7.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006008/0.7256, allocations: 2.999 MB / 0.7072 GB, free: 4.242 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.7267, allocations: 19.88 kB / 0.7072 GB, free: 4.223 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.7285, allocations: 0.6328 MB / 0.7079 GB, free: 3.586 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002401/0.731, allocations: 0.8661 MB / 0.7087 GB, free: 2.715 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004337/0.7354, allocations: 1.562 MB / 0.7102 GB, free: 1.152 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00422/0.7396, allocations: 2.965 MB / 0.7131 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/0.7416, allocations: 0.991 MB / 0.7141 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00268/0.7443, allocations: 1.16 MB / 0.7152 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/0.7463, allocations: 0.9886 MB / 0.7162 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005982/0.7469, allocations: 148 kB / 0.7163 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003461/0.7504, allocations: 1.154 MB / 0.7175 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.7516, allocations: 0.8144 MB / 0.7183 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002475/0.754, allocations: 1.043 MB / 0.7193 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004852/0.7589, allocations: 2.875 MB / 0.7221 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.7589, allocations: 0 / 0.7221 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.544e-06/0.7589, allocations: 0 / 0.7221 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.944e-05/0.759, allocations: 0 / 0.7221 GB, free: 4.977 MB / 0.5606 GB 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.004257/0.7633, allocations: 2.103 MB / 0.7241 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.7633, allocations: 11.89 kB / 0.7242 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.7648, allocations: 333.8 kB / 0.7245 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.7662, allocations: 0.8686 MB / 0.7253 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.971e-05/0.7663, allocations: 106.7 kB / 0.7254 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.7665, allocations: 132 kB / 0.7255 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002992/0.7695, allocations: 1.826 MB / 0.7273 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.7696, allocations: 12.5 kB / 0.7273 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/0.7697, allocations: 60 kB / 0.7274 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/0.7698, allocations: 32 kB / 0.7274 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002577/0.7723, allocations: 1.507 MB / 0.7289 GB, free: 13.87 MB / 0.5762 GB 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.00994/0.7823, allocations: 5.741 MB / 0.7345 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003239/0.7856, allocations: 0.9891 MB / 0.7355 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006969/0.7863, allocations: 330.5 kB / 0.7358 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.018e-05/0.7864, allocations: 19.97 kB / 0.7358 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.879e-05/0.7864, allocations: 55.98 kB / 0.7359 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 4.639e-06/0.7864, allocations: 3.984 kB / 0.7359 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62): time 0.007626/0.7941, allocations: 2.136 MB / 0.7379 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.7942, allocations: 89.11 kB / 0.738 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/0.7964, allocations: 1.653 MB / 0.7396 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002631/0.7966, allocations: 49.64 kB / 0.7397 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005144/0.7972, allocations: 0.6186 MB / 0.7403 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.7974, allocations: 216.9 kB / 0.7405 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003267/0.7977, allocations: 182.5 kB / 0.7407 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.7979, allocations: 341.9 kB / 0.741 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009757/0.7988, allocations: 460.5 kB / 0.7414 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.7999, allocations: 0.5957 MB / 0.742 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.8016, allocations: 0.9036 MB / 0.7429 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.8017, allocations: 4 kB / 0.7429 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00315/0.8048, allocations: 1.47 MB / 0.7444 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.8048, allocations: 8 kB / 0.7444 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.8049, allocations: 4 kB / 0.7444 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006297/0.8112, allocations: 0.9577 MB / 0.7453 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.8124, allocations: 227.7 kB / 0.7455 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003359/0.8158, allocations: 3.983 MB / 0.7494 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.8175, allocations: 221.9 kB / 0.7496 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.8176, allocations: 43.97 kB / 0.7497 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001423/0.819, allocations: 0.7063 MB / 0.7503 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001016/0.8201, allocations: 0.5981 MB / 0.7509 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001644/0.8217, allocations: 0.8913 MB / 0.7518 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.157e-06/0.8217, allocations: 0 / 0.7518 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.003054/0.8248, allocations: 1.33 MB / 0.7531 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.8248, allocations: 8.375 kB / 0.7531 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.8248, allocations: 11.94 kB / 0.7531 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004708/0.8253, allocations: 121.5 kB / 0.7532 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.8267, allocations: 291.6 kB / 0.7535 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2931/1.12, allocations: 5.769 MB / 0.7591 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/1.122, allocations: 125.6 kB / 0.7593 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/1.122, allocations: 44.14 kB / 0.7593 GB, free: 214.8 MB / 0.5919 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.0004157/1.122, allocations: 246.4 kB / 0.7595 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003413/1.123, allocations: 156 kB / 0.7597 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002656/1.125, allocations: 1.059 MB / 0.7607 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/1.125, allocations: 7.625 kB / 0.7607 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.125, allocations: 4.844 kB / 0.7607 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/1.125, allocations: 4.734 kB / 0.7607 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004828/1.13, allocations: 2.333 MB / 0.763 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/1.13, allocations: 3.688 kB / 0.763 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/1.131, allocations: 113 kB / 0.7631 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005036/1.136, allocations: 0.78 MB / 0.7639 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/1.136, allocations: 18.73 kB / 0.7639 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002757/1.139, allocations: 3.977 MB / 0.7678 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.139, allocations: 2.75 kB / 0.7678 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003063/1.142, allocations: 1.252 MB / 0.769 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006247/1.142, allocations: 279.5 kB / 0.7693 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/1.142, allocations: 13.62 kB / 0.7693 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/1.144, allocations: 93.2 kB / 0.7694 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/1.144, allocations: 51.86 kB / 0.7694 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/1.144, allocations: 65.69 kB / 0.7695 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001924/1.146, allocations: 1.158 MB / 0.7706 GB, free: 210 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.01e-07/1.146, allocations: 1.203 kB / 0.7706 GB, free: 210 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002985/1.149, allocations: 0.8263 MB / 0.7714 GB, free: 209.9 MB / 0.5919 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.001371/1.151, allocations: 466.8 kB / 0.7719 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004712/1.155, allocations: 1.818 MB / 0.7737 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/1.155, allocations: 5.156 kB / 0.7737 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/1.157, allocations: 443.8 kB / 0.7741 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005182/1.162, allocations: 1.006 MB / 0.7751 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004423/1.166, allocations: 2.375 MB / 0.7774 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/1.167, allocations: 1.207 MB / 0.7786 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005099/1.168, allocations: 105.5 kB / 0.7787 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.302e-06/1.168, allocations: 0.8438 kB / 0.7787 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.07015/1.238, allocations: 58.85 MB / 0.8361 GB, free: 160.7 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.makefile (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)