Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.745/0.745, allocations: 143.4 MB / 158.3 MB, free: 5.797 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 181.1 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.2 MB / 447.7 MB, free: 4.824 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008462/0.0008462, allocations: 84.34 kB / 0.5188 GB, free: 1.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002587/0.002587, allocations: 277.4 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003982, allocations: 13.66 kB / 0.6929 GB, free: 59.63 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1579, allocations: 82.8 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7364/0.8944, allocations: 356.7 MB / 1.122 GB, free: 13.57 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.8947, allocations: 109.6 kB / 1.122 GB, free: 13.51 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6192/1.514, allocations: 179 MB / 1.297 GB, free: 125.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/1.514, allocations: 0 / 1.297 GB, free: 125.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.504e-05/1.514, allocations: 19.94 kB / 1.297 GB, free: 125.2 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001363/1.515, allocations: 0.8322 MB / 1.298 GB, free: 124.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/1.515, allocations: 8.031 kB / 1.298 GB, free: 124.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.08e-05/1.516, allocations: 55.34 kB / 1.298 GB, free: 124.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006581/1.516, allocations: 437.4 kB / 1.298 GB, free: 123.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/1.516, allocations: 20.44 kB / 1.298 GB, free: 123.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/1.516, allocations: 31.94 kB / 1.298 GB, free: 123.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003655/1.517, allocations: 215.2 kB / 1.299 GB, free: 123.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.517, allocations: 0 / 1.299 GB, free: 123.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/1.517, allocations: 8 kB / 1.299 GB, free: 123.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/1.517, allocations: 8 kB / 1.299 GB, free: 123.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/1.517, allocations: 169.6 kB / 1.299 GB, free: 123.3 MB / 0.698 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.001368/1.518, allocations: 0.9615 MB / 1.3 GB, free: 122.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/1.519, allocations: 130.6 kB / 1.3 GB, free: 122.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002296/1.519, allocations: 336.4 kB / 1.3 GB, free: 121.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/1.519, allocations: 30.56 kB / 1.3 GB, free: 121.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 2.414e-06/1.519, allocations: 4 kB / 1.3 GB, free: 121.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0005496/1.52, allocations: 253.2 kB / 1.3 GB, free: 121.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/1.52, allocations: 51.41 kB / 1.3 GB, free: 121.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/1.52, allocations: 433.1 kB / 1.301 GB, free: 120.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/1.52, allocations: 29.7 kB / 1.301 GB, free: 120.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/1.52, allocations: 232.6 kB / 1.301 GB, free: 120.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/1.52, allocations: 47.3 kB / 1.301 GB, free: 120.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-06/1.52, allocations: 4 kB / 1.301 GB, free: 120.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.049e-05/1.52, allocations: 350.8 kB / 1.301 GB, free: 120.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/1.52, allocations: 71.95 kB / 1.302 GB, free: 120.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/1.521, allocations: 174.9 kB / 1.302 GB, free: 120 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/1.521, allocations: 85.38 kB / 1.302 GB, free: 119.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/1.521, allocations: 0 / 1.302 GB, free: 119.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004347/1.521, allocations: 264.9 kB / 1.302 GB, free: 119.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.343e-05/1.521, allocations: 268.2 kB / 1.302 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/1.521, allocations: 7.938 kB / 1.302 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/1.521, allocations: 4 kB / 1.302 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/1.522, allocations: 47.97 kB / 1.302 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/1.522, allocations: 7.984 kB / 1.302 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/1.522, allocations: 55.67 kB / 1.302 GB, free: 119.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/1.522, allocations: 11.94 kB / 1.302 GB, free: 119.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.482e-06/1.522, allocations: 4 kB / 1.302 GB, free: 119.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00036/1.522, allocations: 189.5 kB / 1.303 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-06/1.522, allocations: 0 / 1.303 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-06/1.522, allocations: 4 kB / 1.303 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/1.523, allocations: 47.97 kB / 1.303 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/1.523, allocations: 0 / 1.303 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/1.523, allocations: 43.81 kB / 1.303 GB, free: 118.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/1.523, allocations: 19.92 kB / 1.303 GB, free: 118.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001558/1.523, allocations: 237.1 kB / 1.303 GB, free: 118.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/1.523, allocations: 47.39 kB / 1.303 GB, free: 118.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004843/1.524, allocations: 261.1 kB / 1.303 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/1.524, allocations: 11.94 kB / 1.303 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.524, allocations: 0 / 1.303 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.889e-05/1.524, allocations: 0 / 1.303 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008385/1.525, allocations: 0.716 MB / 1.304 GB, free: 117.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/1.525, allocations: 192 / 1.304 GB, free: 117.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/1.525, allocations: 31.97 kB / 1.304 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.525, allocations: 4 kB / 1.304 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/1.525, allocations: 7.984 kB / 1.304 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/1.525, allocations: 8.062 kB / 1.304 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.525, allocations: 0 / 1.304 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/1.525, allocations: 405.7 kB / 1.304 GB, free: 117.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/1.525, allocations: 144.5 kB / 1.305 GB, free: 116.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/1.525, allocations: 8 kB / 1.305 GB, free: 116.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/1.526, allocations: 31.91 kB / 1.305 GB, free: 116.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/1.526, allocations: 15.92 kB / 1.305 GB, free: 116.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/1.526, allocations: 8 kB / 1.305 GB, free: 116.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002782/1.526, allocations: 330.9 kB / 1.305 GB, free: 116.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.526, allocations: 4 kB / 1.305 GB, free: 116.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007189/1.527, allocations: 227.7 kB / 1.305 GB, free: 116.3 MB / 0.698 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 (16): * Single equations (assignments): 14 * 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.00113/1.528, allocations: 0.5592 MB / 1.306 GB, free: 115.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000568/1.528, allocations: 287.7 kB / 1.306 GB, free: 115.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.528, allocations: 4 kB / 1.306 GB, free: 115.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/1.529, allocations: 83.89 kB / 1.306 GB, free: 115.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009953/1.53, allocations: 220.6 kB / 1.306 GB, free: 115.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/1.531, allocations: 0.8524 MB / 1.307 GB, free: 114.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/1.531, allocations: 0.835 MB / 1.308 GB, free: 113.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002879/1.531, allocations: 99.09 kB / 1.308 GB, free: 113.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.487e-05/1.531, allocations: 39.42 kB / 1.308 GB, free: 113.4 MB / 0.698 GB Notification: Performance of SimCode: time 4e-07/1.531, allocations: 0 / 1.308 GB, free: 113.4 MB / 0.698 GB Notification: Performance of Templates: time 0.01326/1.545, allocations: 9.256 MB / 1.317 GB, free: 104.3 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)