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 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7294/0.7294, allocations: 140.1 MB / 156 MB, free: 5.168 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009503/0.0009505, allocations: 177.8 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.4 MB / 426.4 MB, free: 8.398 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008273/0.0008274, allocations: 82.38 kB / 0.4945 GB, free: 8.344 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001707/0.001707, allocations: 269.3 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004773, allocations: 20 kB / 0.662 GB, free: 6.801 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3811, allocations: 79.29 MB / 0.7395 GB, free: 46.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7081/1.089, allocations: 368 MB / 1.099 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/1.09, allocations: 103.1 kB / 1.099 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.6126/1.702, allocations: 174.4 MB / 1.269 GB, free: 143.1 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.565e-06/1.702, allocations: 4 kB / 1.269 GB, free: 143.1 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001042/1.702, allocations: 16 kB / 1.269 GB, free: 143.1 MB / 0.6667 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.00172/1.704, allocations: 0.8182 MB / 1.27 GB, free: 142.2 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/1.704, allocations: 8.031 kB / 1.27 GB, free: 142.2 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/1.704, allocations: 56.38 kB / 1.27 GB, free: 142.2 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009513/1.705, allocations: 438.6 kB / 1.271 GB, free: 141.7 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/1.705, allocations: 24.75 kB / 1.271 GB, free: 141.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.508e-05/1.705, allocations: 36.31 kB / 1.271 GB, free: 141.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004306/1.706, allocations: 211.4 kB / 1.271 GB, free: 141.4 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/1.706, allocations: 0 / 1.271 GB, free: 141.4 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/1.706, allocations: 16 kB / 1.271 GB, free: 141.4 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/1.706, allocations: 7.984 kB / 1.271 GB, free: 141.4 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00037/1.706, allocations: 165.7 kB / 1.271 GB, free: 141.2 MB / 0.6667 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.001566/1.708, allocations: 0.9536 MB / 1.272 GB, free: 140.2 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/1.708, allocations: 138.5 kB / 1.272 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/1.708, allocations: 72.81 kB / 1.272 GB, free: 140 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/1.709, allocations: 348.4 kB / 1.272 GB, free: 139.6 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/1.709, allocations: 34.5 kB / 1.272 GB, free: 139.5 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=14): time 1.724e-06/1.709, allocations: 4 kB / 1.272 GB, free: 139.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14): time 0.0005926/1.709, allocations: 250.7 kB / 1.273 GB, free: 139.3 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/1.709, allocations: 59.34 kB / 1.273 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000442/1.71, allocations: 465.9 kB / 1.273 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/1.71, allocations: 33.7 kB / 1.273 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/1.71, allocations: 228.6 kB / 1.273 GB, free: 138.5 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/1.71, allocations: 51.3 kB / 1.274 GB, free: 138.4 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/1.71, allocations: 0 / 1.274 GB, free: 138.4 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.795e-05/1.71, allocations: 354.8 kB / 1.274 GB, free: 138.1 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/1.71, allocations: 67.95 kB / 1.274 GB, free: 138 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/1.71, allocations: 176.3 kB / 1.274 GB, free: 137.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/1.711, allocations: 169.2 kB / 1.274 GB, free: 137.6 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.711, allocations: 0 / 1.274 GB, free: 137.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004382/1.711, allocations: 256.9 kB / 1.275 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/1.711, allocations: 104.1 kB / 1.275 GB, free: 137.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/1.711, allocations: 0 / 1.275 GB, free: 137.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/1.711, allocations: 8 kB / 1.275 GB, free: 137.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/1.711, allocations: 55.89 kB / 1.275 GB, free: 137.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/1.712, allocations: 4 kB / 1.275 GB, free: 137.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003424/1.712, allocations: 43.72 kB / 1.275 GB, free: 137.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/1.712, allocations: 16.08 kB / 1.275 GB, free: 137.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.244e-06/1.712, allocations: 4 kB / 1.275 GB, free: 137.1 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003452/1.712, allocations: 188.8 kB / 1.275 GB, free: 136.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/1.712, allocations: 3.938 kB / 1.275 GB, free: 136.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.508e-06/1.712, allocations: 3.938 kB / 1.275 GB, free: 136.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/1.712, allocations: 59.91 kB / 1.275 GB, free: 136.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/1.712, allocations: 0 / 1.275 GB, free: 136.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/1.713, allocations: 39.81 kB / 1.275 GB, free: 136.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/1.713, allocations: 11.98 kB / 1.275 GB, free: 136.8 MB / 0.6667 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.0001889/1.713, allocations: 249 kB / 1.275 GB, free: 136.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.538e-05/1.713, allocations: 43.44 kB / 1.275 GB, free: 136.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004806/1.714, allocations: 265 kB / 1.276 GB, free: 136.2 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/1.714, allocations: 0 / 1.276 GB, free: 136.2 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.714, allocations: 4 kB / 1.276 GB, free: 136.2 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/1.714, allocations: 0 / 1.276 GB, free: 136.2 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008559/1.714, allocations: 0.7128 MB / 1.276 GB, free: 135.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/1.715, allocations: 4 kB / 1.276 GB, free: 135.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/1.715, allocations: 39.91 kB / 1.276 GB, free: 135.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/1.715, allocations: 0 / 1.276 GB, free: 135.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/1.715, allocations: 4 kB / 1.276 GB, free: 135.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/1.715, allocations: 7.938 kB / 1.276 GB, free: 135.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.715, allocations: 8.109 kB / 1.276 GB, free: 135.4 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/1.715, allocations: 350.8 kB / 1.277 GB, free: 135 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/1.715, allocations: 148.4 kB / 1.277 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.776e-05/1.715, allocations: 7.984 kB / 1.277 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/1.715, allocations: 27.89 kB / 1.277 GB, free: 134.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/1.716, allocations: 15.98 kB / 1.277 GB, free: 134.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/1.716, allocations: 7.984 kB / 1.277 GB, free: 134.8 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00029/1.716, allocations: 334.7 kB / 1.277 GB, free: 134.5 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/1.716, allocations: 4 kB / 1.277 GB, free: 134.5 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007385/1.717, allocations: 219.8 kB / 1.277 GB, free: 134.3 MB / 0.6667 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.001202/1.718, allocations: 0.5654 MB / 1.278 GB, free: 133.8 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005926/1.718, allocations: 286 kB / 1.278 GB, free: 133.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.718, allocations: 0 / 1.278 GB, free: 133.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/1.719, allocations: 96.08 kB / 1.278 GB, free: 133.4 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/1.72, allocations: 226.9 kB / 1.279 GB, free: 133.2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/1.721, allocations: 0.8348 MB / 1.279 GB, free: 132.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/1.721, allocations: 0.8233 MB / 1.28 GB, free: 131.5 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003283/1.721, allocations: 79.19 kB / 1.28 GB, free: 131.4 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.375e-05/1.722, allocations: 43.42 kB / 1.28 GB, free: 131.3 MB / 0.6667 GB Notification: Performance of SimCode: time 2.2e-07/1.722, allocations: 0 / 1.28 GB, free: 131.3 MB / 0.6667 GB Notification: Performance of Templates: time 0.01469/1.736, allocations: 9.476 MB / 1.29 GB, free: 122 MB / 0.6667 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)