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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009429/0.0009429, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5055/0.5055, allocations: 90.91 MB / 99.34 MB, free: 2.211 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 221.5 MB / 343.2 MB, free: 1.523 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 103.2 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.69e-05/1.694e-05, allocations: 4 kB / 494.5 MB, free: 52.38 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1705, allocations: 72.31 MB / 0.5535 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.213/1.383, allocations: 353.4 MB / 0.8986 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/1.384, allocations: 96.81 kB / 0.8987 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.7256/2.109, allocations: 177.5 MB / 1.072 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.102e-06/2.109, allocations: 0 / 1.072 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.529e-05/2.109, allocations: 14.12 kB / 1.072 GB, free: 157.9 MB / 0.5886 GB 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.001198/2.11, allocations: 0.779 MB / 1.073 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/2.111, allocations: 11.58 kB / 1.073 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/2.111, allocations: 60.81 kB / 1.073 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007222/2.111, allocations: 453.4 kB / 1.073 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/2.112, allocations: 7.188 kB / 1.073 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/2.112, allocations: 24.03 kB / 1.073 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002752/2.112, allocations: 141.8 kB / 1.074 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/2.112, allocations: 233.7 kB / 1.074 GB, free: 157 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/2.112, allocations: 0 / 1.074 GB, free: 157 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/2.112, allocations: 2.531 kB / 1.074 GB, free: 157 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/2.112, allocations: 7.781 kB / 1.074 GB, free: 157 MB / 0.5886 GB Warning: The model contains alias variables with conflicting start and/or 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.001998/2.114, allocations: 1.436 MB / 1.075 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/2.114, allocations: 139.9 kB / 1.075 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.255e-05/2.115, allocations: 60.83 kB / 1.075 GB, free: 156.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001426/2.116, allocations: 1.294 MB / 1.077 GB, free: 155 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/2.116, allocations: 34.44 kB / 1.077 GB, free: 155 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.874e-06/2.116, allocations: 3.219 kB / 1.077 GB, free: 155 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0005025/2.117, allocations: 182 kB / 1.077 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/2.117, allocations: 51.41 kB / 1.077 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004908/2.117, allocations: 473.7 kB / 1.077 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/2.117, allocations: 25.7 kB / 1.077 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/2.117, allocations: 264 kB / 1.078 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/2.117, allocations: 54.11 kB / 1.078 GB, free: 154.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/2.117, allocations: 3.094 kB / 1.078 GB, free: 154.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.149e-05/2.117, allocations: 354.8 kB / 1.078 GB, free: 154.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/2.117, allocations: 51.22 kB / 1.078 GB, free: 154.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/2.118, allocations: 202.8 kB / 1.078 GB, free: 154.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/2.118, allocations: 105.1 kB / 1.078 GB, free: 154.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/2.118, allocations: 0 / 1.078 GB, free: 154.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004563/2.118, allocations: 282.4 kB / 1.079 GB, free: 154 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001765/2.119, allocations: 0.9555 MB / 1.08 GB, free: 153 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/2.119, allocations: 2.969 kB / 1.08 GB, free: 153 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/2.119, allocations: 3.938 kB / 1.08 GB, free: 153 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/2.119, allocations: 74.8 kB / 1.08 GB, free: 153 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/2.119, allocations: 8.781 kB / 1.08 GB, free: 153 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/2.119, allocations: 41.17 kB / 1.08 GB, free: 153 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/2.119, allocations: 24.33 kB / 1.08 GB, free: 153 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/2.119, allocations: 4.625 kB / 1.08 GB, free: 153 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003671/2.12, allocations: 186.3 kB / 1.08 GB, free: 153 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/2.12, allocations: 3.5 kB / 1.08 GB, free: 153 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.011e-06/2.12, allocations: 7.25 kB / 1.08 GB, free: 153 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/2.12, allocations: 64.56 kB / 1.08 GB, free: 153 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/2.12, allocations: 8.531 kB / 1.08 GB, free: 153 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/2.12, allocations: 36.16 kB / 1.08 GB, free: 153 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/2.12, allocations: 19.25 kB / 1.08 GB, free: 153 MB / 0.5886 GB 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 () * 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 8.035e-05/2.12, allocations: 114.5 kB / 1.08 GB, free: 152.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.168e-05/2.12, allocations: 45.5 kB / 1.08 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004382/2.121, allocations: 230.4 kB / 1.08 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/2.121, allocations: 7 kB / 1.08 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/2.121, allocations: 0 / 1.08 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/2.121, allocations: 3.609 kB / 1.08 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008365/2.122, allocations: 0.678 MB / 1.081 GB, free: 152.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/2.122, allocations: 0 / 1.081 GB, free: 152.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/2.122, allocations: 37.03 kB / 1.081 GB, free: 152.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/2.122, allocations: 3.875 kB / 1.081 GB, free: 152.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/2.122, allocations: 0 / 1.081 GB, free: 152.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/2.122, allocations: 3.781 kB / 1.081 GB, free: 152.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/2.122, allocations: 0 / 1.081 GB, free: 152.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003802/2.122, allocations: 377.9 kB / 1.081 GB, free: 152.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/2.122, allocations: 154.2 kB / 1.082 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/2.123, allocations: 3.531 kB / 1.082 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/2.123, allocations: 18 kB / 1.082 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/2.123, allocations: 18 kB / 1.082 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/2.123, allocations: 13.34 kB / 1.082 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003255/2.123, allocations: 358.4 kB / 1.082 GB, free: 152 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/2.123, allocations: 0 / 1.082 GB, free: 152 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0008552/2.124, allocations: 263 kB / 1.082 GB, free: 152 MB / 0.5886 GB 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 () * 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.001086/2.125, allocations: 0.5574 MB / 1.083 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004138/2.126, allocations: 288.6 kB / 1.083 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/2.126, allocations: 0 / 1.083 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.433e-05/2.126, allocations: 70.56 kB / 1.083 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/2.127, allocations: 214.9 kB / 1.083 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009423/2.128, allocations: 0.5588 MB / 1.084 GB, free: 151.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/2.128, allocations: 0.8628 MB / 1.085 GB, free: 150.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004944/2.128, allocations: 177.3 kB / 1.085 GB, free: 150.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/2.129, allocations: 30.94 kB / 1.085 GB, free: 150.9 MB / 0.5886 GB Notification: Performance of SimCode: time 2.2e-07/2.129, allocations: 0 / 1.085 GB, free: 150.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.01454/2.143, allocations: 9.89 MB / 1.095 GB, free: 150.3 MB / 0.5886 GB 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)