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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.001038/0.001038, allocations: 173 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4486/0.4486, allocations: 86.27 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.2 MB / 348.4 MB, free: 4.914 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009396/0.0009396, allocations: 95.75 kB / 420.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006636/0.0006638, allocations: 12 kB / 0.4901 GB, free: 7.996 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3758, allocations: 71.01 MB / 0.5595 GB, free: 43.61 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6965/1.072, allocations: 352.4 MB / 0.9036 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/1.073, allocations: 103.1 kB / 0.9037 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.6864/1.759, allocations: 177.9 MB / 1.077 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.924e-06/1.759, allocations: 0 / 1.077 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.083e-05/1.759, allocations: 12 kB / 1.077 GB, free: 105.2 MB / 0.6042 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.001493/1.761, allocations: 0.8683 MB / 1.078 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/1.761, allocations: 12.03 kB / 1.078 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/1.761, allocations: 60.19 kB / 1.078 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008075/1.762, allocations: 482.4 kB / 1.079 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/1.762, allocations: 21.31 kB / 1.079 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.381e-05/1.762, allocations: 36 kB / 1.079 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004186/1.762, allocations: 286.2 kB / 1.079 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/1.762, allocations: 3.938 kB / 1.079 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/1.762, allocations: 8 kB / 1.079 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/1.762, allocations: 8 kB / 1.079 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003642/1.763, allocations: 198.1 kB / 1.079 GB, free: 103.1 MB / 0.6042 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.00168/1.764, allocations: 1.504 MB / 1.081 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/1.765, allocations: 166.8 kB / 1.081 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/1.765, allocations: 84.8 kB / 1.081 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/1.766, allocations: 1.295 MB / 1.082 GB, free: 99.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/1.766, allocations: 42.5 kB / 1.082 GB, free: 99.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/1.766, allocations: 0 / 1.082 GB, free: 99.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0005521/1.767, allocations: 266.5 kB / 1.083 GB, free: 99.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/1.767, allocations: 59.34 kB / 1.083 GB, free: 99.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005658/1.767, allocations: 0.5808 MB / 1.083 GB, free: 98.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/1.767, allocations: 29.7 kB / 1.083 GB, free: 98.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/1.767, allocations: 272.1 kB / 1.083 GB, free: 98.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/1.767, allocations: 55.2 kB / 1.084 GB, free: 98.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/1.767, allocations: 4 kB / 1.084 GB, free: 98.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/1.768, allocations: 358.8 kB / 1.084 GB, free: 98.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/1.768, allocations: 76.52 kB / 1.084 GB, free: 97.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/1.768, allocations: 233.3 kB / 1.084 GB, free: 97.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/1.768, allocations: 239.1 kB / 1.084 GB, free: 97.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.768, allocations: 4 kB / 1.084 GB, free: 97.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000499/1.769, allocations: 315.3 kB / 1.085 GB, free: 97.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.308e-05/1.769, allocations: 162.3 kB / 1.085 GB, free: 96.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/1.769, allocations: 4 kB / 1.085 GB, free: 96.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.769, allocations: 4 kB / 1.085 GB, free: 96.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/1.769, allocations: 63.91 kB / 1.085 GB, free: 96.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/1.769, allocations: 4 kB / 1.085 GB, free: 96.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/1.769, allocations: 55.66 kB / 1.085 GB, free: 96.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/1.769, allocations: 19.98 kB / 1.085 GB, free: 96.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/1.77, allocations: 4 kB / 1.085 GB, free: 96.77 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003976/1.77, allocations: 239.6 kB / 1.085 GB, free: 96.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/1.77, allocations: 0 / 1.085 GB, free: 96.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.638e-06/1.77, allocations: 4 kB / 1.085 GB, free: 96.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/1.77, allocations: 72.09 kB / 1.085 GB, free: 96.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/1.77, allocations: 8 kB / 1.085 GB, free: 96.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/1.77, allocations: 47.66 kB / 1.085 GB, free: 96.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/1.77, allocations: 23.98 kB / 1.085 GB, free: 96.38 MB / 0.6042 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 () * 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.0001842/1.771, allocations: 263 kB / 1.086 GB, free: 96.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.304e-05/1.771, allocations: 51.38 kB / 1.086 GB, free: 96.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004958/1.771, allocations: 265.9 kB / 1.086 GB, free: 95.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/1.771, allocations: 4 kB / 1.086 GB, free: 95.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.771, allocations: 7.938 kB / 1.086 GB, free: 95.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/1.771, allocations: 3.938 kB / 1.086 GB, free: 95.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008575/1.772, allocations: 0.7583 MB / 1.087 GB, free: 94.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/1.772, allocations: 3.938 kB / 1.087 GB, free: 94.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/1.772, allocations: 31.97 kB / 1.087 GB, free: 94.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/1.772, allocations: 4 kB / 1.087 GB, free: 94.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/1.772, allocations: 8 kB / 1.087 GB, free: 94.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.772, allocations: 0 / 1.087 GB, free: 94.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.772, allocations: 7.938 kB / 1.087 GB, free: 94.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/1.773, allocations: 358.3 kB / 1.087 GB, free: 94.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/1.773, allocations: 164.3 kB / 1.087 GB, free: 94.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/1.773, allocations: 11.94 kB / 1.087 GB, free: 94.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/1.773, allocations: 19.98 kB / 1.087 GB, free: 94.31 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/1.773, allocations: 11.98 kB / 1.087 GB, free: 94.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/1.773, allocations: 11.92 kB / 1.087 GB, free: 94.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003626/1.774, allocations: 414.8 kB / 1.088 GB, free: 93.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/1.774, allocations: 0 / 1.088 GB, free: 93.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007862/1.774, allocations: 271.7 kB / 1.088 GB, free: 93.62 MB / 0.6042 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 () * 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.001495/1.776, allocations: 0.6083 MB / 1.089 GB, free: 93.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006308/1.777, allocations: 348.2 kB / 1.089 GB, free: 92.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.777, allocations: 0 / 1.089 GB, free: 92.81 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/1.777, allocations: 87.89 kB / 1.089 GB, free: 92.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/1.778, allocations: 264 kB / 1.089 GB, free: 92.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/1.779, allocations: 0.9803 MB / 1.09 GB, free: 91.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/1.779, allocations: 0.8432 MB / 1.091 GB, free: 90.58 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003727/1.78, allocations: 104.3 kB / 1.091 GB, free: 90.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.415e-05/1.78, allocations: 35.44 kB / 1.091 GB, free: 90.45 MB / 0.6042 GB Notification: Performance of SimCode: time 7.81e-07/1.78, allocations: 0 / 1.091 GB, free: 90.45 MB / 0.6042 GB Notification: Performance of Templates: time 0.01827/1.798, allocations: 11.21 MB / 1.102 GB, free: 79.36 MB / 0.6042 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)