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.7794/0.7794, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 177.5 kB / 187.3 MB, free: 11.89 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.46/1.46, allocations: 221.3 MB / 441.4 MB, free: 4.609 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.0008798/0.0008798, allocations: 88.67 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001798/0.001798, allocations: 272.8 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.791e-05/3.795e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4503/0.4504, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8136/1.264, allocations: 356.7 MB / 1.113 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/1.264, allocations: 90.08 kB / 1.113 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.8216/2.086, allocations: 178.5 MB / 1.287 GB, free: 178.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/2.086, allocations: 0 / 1.287 GB, free: 178.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.389e-05/2.086, allocations: 15.98 kB / 1.287 GB, free: 178.6 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.001091/2.087, allocations: 0.7473 MB / 1.288 GB, free: 177.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/2.087, allocations: 8.031 kB / 1.288 GB, free: 177.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.603e-05/2.087, allocations: 55.34 kB / 1.288 GB, free: 177.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006066/2.088, allocations: 421.5 kB / 1.288 GB, free: 177.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/2.088, allocations: 28.44 kB / 1.288 GB, free: 177.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/2.088, allocations: 31.94 kB / 1.288 GB, free: 177.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/2.088, allocations: 187.3 kB / 1.288 GB, free: 177 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/2.088, allocations: 0 / 1.288 GB, free: 177 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/2.088, allocations: 12 kB / 1.288 GB, free: 177 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/2.088, allocations: 7.984 kB / 1.288 GB, free: 177 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/2.089, allocations: 129.7 kB / 1.289 GB, free: 176.9 MB / 0.698 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.001338/2.09, allocations: 0.9536 MB / 1.289 GB, free: 175.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/2.09, allocations: 122.5 kB / 1.29 GB, free: 175.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.754e-05/2.09, allocations: 56.86 kB / 1.29 GB, free: 175.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/2.09, allocations: 336.4 kB / 1.29 GB, free: 175.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/2.09, allocations: 42.55 kB / 1.29 GB, free: 175.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/2.09, allocations: 0 / 1.29 GB, free: 175.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0003026/2.091, allocations: 161 kB / 1.29 GB, free: 175 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/2.091, allocations: 51.41 kB / 1.29 GB, free: 175 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003611/2.091, allocations: 419.8 kB / 1.291 GB, free: 174.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/2.091, allocations: 37.7 kB / 1.291 GB, free: 174.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/2.091, allocations: 232.6 kB / 1.291 GB, free: 174.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/2.091, allocations: 47.3 kB / 1.291 GB, free: 174.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/2.091, allocations: 4 kB / 1.291 GB, free: 174.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/2.091, allocations: 346.8 kB / 1.291 GB, free: 173.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.993e-05/2.092, allocations: 55.98 kB / 1.291 GB, free: 173.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/2.092, allocations: 159.1 kB / 1.291 GB, free: 173.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/2.092, allocations: 64.67 kB / 1.292 GB, free: 173.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/2.092, allocations: 4 kB / 1.292 GB, free: 173.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000295/2.092, allocations: 218.5 kB / 1.292 GB, free: 173.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.849e-05/2.092, allocations: 275 kB / 1.292 GB, free: 173.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/2.092, allocations: 0 / 1.292 GB, free: 173.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/2.092, allocations: 4 kB / 1.292 GB, free: 173.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/2.092, allocations: 47.91 kB / 1.292 GB, free: 173 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/2.092, allocations: 11.95 kB / 1.292 GB, free: 173 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/2.093, allocations: 47.7 kB / 1.292 GB, free: 173 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/2.093, allocations: 11.98 kB / 1.292 GB, free: 172.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.834e-06/2.093, allocations: 4.938 kB / 1.292 GB, free: 172.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002238/2.093, allocations: 157.3 kB / 1.292 GB, free: 172.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-06/2.093, allocations: 4 kB / 1.292 GB, free: 172.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-06/2.093, allocations: 4 kB / 1.292 GB, free: 172.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/2.093, allocations: 47.91 kB / 1.292 GB, free: 172.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/2.093, allocations: 3.984 kB / 1.292 GB, free: 172.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/2.094, allocations: 47.81 kB / 1.292 GB, free: 172.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/2.094, allocations: 12 kB / 1.292 GB, free: 172.7 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 () * 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 7.139e-05/2.094, allocations: 112.9 kB / 1.292 GB, free: 172.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.9e-05/2.094, allocations: 51.38 kB / 1.293 GB, free: 172.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003573/2.094, allocations: 229.3 kB / 1.293 GB, free: 172.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/2.094, allocations: 8 kB / 1.293 GB, free: 172.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/2.094, allocations: 0 / 1.293 GB, free: 172.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/2.094, allocations: 3.984 kB / 1.293 GB, free: 172.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006978/2.095, allocations: 0.6836 MB / 1.293 GB, free: 171.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/2.095, allocations: 0 / 1.293 GB, free: 171.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/2.095, allocations: 32.09 kB / 1.293 GB, free: 171.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/2.095, allocations: 8 kB / 1.293 GB, free: 171.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/2.095, allocations: 8 kB / 1.293 GB, free: 171.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/2.095, allocations: 0 / 1.293 GB, free: 171.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/2.095, allocations: 0 / 1.293 GB, free: 171.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/2.095, allocations: 366.5 kB / 1.294 GB, free: 171.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/2.095, allocations: 152.4 kB / 1.294 GB, free: 170.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/2.096, allocations: 7.984 kB / 1.294 GB, free: 170.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/2.096, allocations: 27.98 kB / 1.294 GB, free: 170.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/2.096, allocations: 7.984 kB / 1.294 GB, free: 170.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/2.096, allocations: 11.98 kB / 1.294 GB, free: 170.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002807/2.096, allocations: 325.6 kB / 1.294 GB, free: 170.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/2.096, allocations: 0 / 1.294 GB, free: 170.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006971/2.097, allocations: 227.7 kB / 1.295 GB, free: 170.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 () * 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.001147/2.098, allocations: 0.5423 MB / 1.295 GB, free: 169.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003948/2.098, allocations: 250.7 kB / 1.295 GB, free: 169.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/2.098, allocations: 0 / 1.295 GB, free: 169.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.406e-05/2.098, allocations: 67.92 kB / 1.295 GB, free: 169.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/2.1, allocations: 222 kB / 1.296 GB, free: 169.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008002/2.1, allocations: 0.5038 MB / 1.296 GB, free: 168.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/2.101, allocations: 0.8395 MB / 1.297 GB, free: 167.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003618/2.101, allocations: 127.2 kB / 1.297 GB, free: 167.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.123e-05/2.101, allocations: 27.38 kB / 1.297 GB, free: 167.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/2.101, allocations: 4 kB / 1.297 GB, free: 167.8 MB / 0.698 GB Notification: Performance of Templates: time 0.01413/2.115, allocations: 10.32 MB / 1.307 GB, free: 157.5 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)