Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 96.03 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 170.1 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7373/0.7373, allocations: 113.8 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003977, allocations: 8 kB / 493.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1728, allocations: 77.15 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01518/0.1881, allocations: 14.72 MB / 0.5712 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006263/0.1944, allocations: 4.232 MB / 0.5753 GB, free: 8.633 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006079/0.195, allocations: 15.88 kB / 0.5754 GB, free: 8.617 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009216/0.196, allocations: 234.9 kB / 0.5756 GB, free: 8.387 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.1978, allocations: 0.5685 MB / 0.5761 GB, free: 7.816 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.2001, allocations: 0.7563 MB / 0.5769 GB, free: 7.082 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.2014, allocations: 0.5934 MB / 0.5775 GB, free: 6.488 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004773/0.2018, allocations: 258.7 kB / 0.5777 GB, free: 6.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006705/0.2025, allocations: 334.8 kB / 0.578 GB, free: 5.902 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003077/0.2028, allocations: 215.1 kB / 0.5782 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.2029, allocations: 16 kB / 0.5782 GB, free: 5.676 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.204, allocations: 459.3 kB / 0.5787 GB, free: 5.227 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.2041, allocations: 111.6 kB / 0.5788 GB, free: 5.117 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.2043, allocations: 117.4 kB / 0.5789 GB, free: 4.996 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007267/0.205, allocations: 0.5419 MB / 0.5794 GB, free: 4.453 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.205, allocations: 0 / 0.5794 GB, free: 4.453 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.205, allocations: 4 kB / 0.5794 GB, free: 4.449 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.205, allocations: 0 / 0.5794 GB, free: 4.449 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001256/0.2063, allocations: 0.7785 MB / 0.5802 GB, free: 3.621 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.2063, allocations: 8.031 kB / 0.5802 GB, free: 3.613 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.2065, allocations: 63.25 kB / 0.5803 GB, free: 3.551 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006444/0.2072, allocations: 424.9 kB / 0.5807 GB, free: 3.102 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.2072, allocations: 24.5 kB / 0.5807 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.84e-05/0.2073, allocations: 32 kB / 0.5807 GB, free: 3.043 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005219/0.2078, allocations: 282.2 kB / 0.581 GB, free: 2.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.2078, allocations: 4 kB / 0.581 GB, free: 2.746 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.2079, allocations: 12 kB / 0.581 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.2079, allocations: 4 kB / 0.581 GB, free: 2.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004234/0.2083, allocations: 202 kB / 0.5812 GB, free: 2.535 MB / 446.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.002035/0.2103, allocations: 1.484 MB / 0.5826 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.2107, allocations: 166.7 kB / 0.5828 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.336/0.5467, allocations: 1.275 MB / 0.5841 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.5468, allocations: 38.34 kB / 0.5841 GB, free: 34.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 3.136e-06/0.5468, allocations: 0.75 kB / 0.5841 GB, free: 34.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009094/0.5477, allocations: 270.5 kB / 0.5843 GB, free: 34.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.5478, allocations: 54.75 kB / 0.5844 GB, free: 34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.5489, allocations: 0.581 MB / 0.585 GB, free: 33.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.5489, allocations: 32.42 kB / 0.585 GB, free: 33.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/0.5492, allocations: 269.7 kB / 0.5853 GB, free: 33.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.5493, allocations: 53.86 kB / 0.5853 GB, free: 33.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/0.5493, allocations: 4.531 kB / 0.5853 GB, free: 33.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5494, allocations: 359 kB / 0.5857 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.5496, allocations: 75.25 kB / 0.5857 GB, free: 33.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.55, allocations: 211.2 kB / 0.5859 GB, free: 33.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.5503, allocations: 107.3 kB / 0.586 GB, free: 33.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.5503, allocations: 2.156 kB / 0.586 GB, free: 33.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006691/0.551, allocations: 326.5 kB / 0.5863 GB, free: 33.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002423/0.5512, allocations: 0.9586 MB / 0.5873 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.5512, allocations: 2.344 kB / 0.5873 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.5513, allocations: 6.312 kB / 0.5873 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.5516, allocations: 67.17 kB / 0.5873 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.5516, allocations: 8.359 kB / 0.5874 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003916/0.552, allocations: 54.27 kB / 0.5874 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.552, allocations: 12.45 kB / 0.5874 GB, free: 32.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.5521, allocations: 4.156 kB / 0.5874 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006123/0.5527, allocations: 244.7 kB / 0.5877 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5527, allocations: 2.344 kB / 0.5877 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.5527, allocations: 11.92 kB / 0.5877 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.553, allocations: 63.95 kB / 0.5877 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.553, allocations: 13.23 kB / 0.5877 GB, free: 32.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003007/0.5533, allocations: 45.39 kB / 0.5878 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.5533, allocations: 13.95 kB / 0.5878 GB, free: 32.16 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002274/0.5535, allocations: 259.2 kB / 0.588 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.589e-05/0.5536, allocations: 54.91 kB / 0.5881 GB, free: 31.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006366/0.5543, allocations: 267 kB / 0.5884 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.5543, allocations: 2.906 kB / 0.5884 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.5543, allocations: 1.484 kB / 0.5884 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.5543, allocations: 0.5625 kB / 0.5884 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.5555, allocations: 0.7506 MB / 0.5891 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.5555, allocations: 1.688 kB / 0.5891 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.5556, allocations: 32.72 kB / 0.5891 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.5557, allocations: 1.875 kB / 0.5891 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.5557, allocations: 11.11 kB / 0.5891 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.5557, allocations: 5.391 kB / 0.5891 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.5557, allocations: 1.984 kB / 0.5891 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/0.5562, allocations: 407.7 kB / 0.5895 GB, free: 31.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.5564, allocations: 155.2 kB / 0.5897 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.164e-05/0.5565, allocations: 10.7 kB / 0.5897 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.5567, allocations: 15.55 kB / 0.5897 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/0.5568, allocations: 20.3 kB / 0.5897 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.5568, allocations: 4.969 kB / 0.5897 GB, free: 31.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005537/0.5574, allocations: 415.8 kB / 0.5901 GB, free: 30.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5574, allocations: 0.5625 kB / 0.5901 GB, free: 30.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008519/0.5583, allocations: 230.6 kB / 0.5903 GB, free: 30.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001083/0.5593, allocations: 496.6 kB / 0.5908 GB, free: 30.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000812/0.5602, allocations: 334.7 kB / 0.5911 GB, free: 30.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5602, allocations: 4.062 kB / 0.5911 GB, free: 30.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.5604, allocations: 90.84 kB / 0.5912 GB, free: 30.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.5617, allocations: 251.2 kB / 0.5915 GB, free: 30.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.5632, allocations: 0.9694 MB / 0.5924 GB, free: 29.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.5636, allocations: 0.8516 MB / 0.5932 GB, free: 29.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004108/0.564, allocations: 103.6 kB / 0.5933 GB, free: 29.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.931e-05/0.5641, allocations: 41.16 kB / 0.5934 GB, free: 29.24 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5641, allocations: 0 / 0.5934 GB, free: 29.24 MB / 446.1 MB Notification: Performance of Templates: time 0.0219/0.586, allocations: 9.575 MB / 0.6027 GB, free: 27.09 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)