Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7992/0.7992, allocations: 141.7 MB / 154.3 MB, free: 15.47 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.001064/0.001064, allocations: 181.2 kB / 187.3 MB, free: 11.86 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.476/1.476, allocations: 221.3 MB / 441.4 MB, free: 4.578 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.0009208/0.000921, allocations: 105.1 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.001867/0.001867, allocations: 269.5 kB / 0.5939 GB, free: 7.922 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.28e-05/4.282e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4782/0.4783, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.855/1.333, allocations: 361.2 MB / 1.117 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/1.334, allocations: 100.8 kB / 1.117 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7568/2.09, allocations: 178.5 MB / 1.291 GB, free: 174.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.144e-06/2.091, allocations: 0 / 1.291 GB, free: 174.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.652e-05/2.091, allocations: 24.14 kB / 1.291 GB, free: 174.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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001145/2.092, allocations: 0.7629 MB / 1.292 GB, free: 173.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/2.092, allocations: 8.031 kB / 1.292 GB, free: 173.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/2.092, allocations: 67.23 kB / 1.292 GB, free: 173.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006775/2.093, allocations: 461.3 kB / 1.293 GB, free: 172.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/2.093, allocations: 20.56 kB / 1.293 GB, free: 172.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/2.093, allocations: 28 kB / 1.293 GB, free: 172.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/2.093, allocations: 266.3 kB / 1.293 GB, free: 172.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/2.093, allocations: 0 / 1.293 GB, free: 172.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/2.093, allocations: 8 kB / 1.293 GB, free: 172.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/2.093, allocations: 8 kB / 1.293 GB, free: 172.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/2.093, allocations: 158.1 kB / 1.293 GB, free: 172.4 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.001665/2.095, allocations: 1.519 MB / 1.295 GB, free: 170.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/2.095, allocations: 138.8 kB / 1.295 GB, free: 170.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.903e-05/2.095, allocations: 72.92 kB / 1.295 GB, free: 170.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/2.097, allocations: 1.319 MB / 1.296 GB, free: 169 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/2.097, allocations: 38.56 kB / 1.296 GB, free: 169 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.803e-06/2.097, allocations: 0 / 1.296 GB, free: 169 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0003231/2.097, allocations: 169.9 kB / 1.296 GB, free: 168.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/2.097, allocations: 55.41 kB / 1.296 GB, free: 168.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/2.098, allocations: 0.5162 MB / 1.297 GB, free: 168.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/2.098, allocations: 29.7 kB / 1.297 GB, free: 168.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/2.098, allocations: 267.9 kB / 1.297 GB, free: 167.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/2.098, allocations: 59.19 kB / 1.297 GB, free: 167.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/2.098, allocations: 8 kB / 1.297 GB, free: 167.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.622e-05/2.098, allocations: 362.8 kB / 1.298 GB, free: 167.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.78e-05/2.098, allocations: 48.56 kB / 1.298 GB, free: 167.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/2.098, allocations: 209.4 kB / 1.298 GB, free: 167.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/2.098, allocations: 85.09 kB / 1.298 GB, free: 167.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/2.098, allocations: 0 / 1.298 GB, free: 167.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003542/2.099, allocations: 286.5 kB / 1.298 GB, free: 166.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001926/2.099, allocations: 0.964 MB / 1.299 GB, free: 165.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/2.099, allocations: 4 kB / 1.299 GB, free: 165.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/2.099, allocations: 7.938 kB / 1.299 GB, free: 165.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/2.099, allocations: 67.89 kB / 1.299 GB, free: 165.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/2.099, allocations: 7.938 kB / 1.299 GB, free: 165.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/2.099, allocations: 55.66 kB / 1.299 GB, free: 165.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/2.1, allocations: 16 kB / 1.299 GB, free: 165.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/2.1, allocations: 4.781 kB / 1.299 GB, free: 165.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002777/2.1, allocations: 204.7 kB / 1.299 GB, free: 165.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/2.1, allocations: 4 kB / 1.299 GB, free: 165.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.177e-06/2.1, allocations: 4 kB / 1.299 GB, free: 165.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/2.1, allocations: 64.16 kB / 1.3 GB, free: 165.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/2.1, allocations: 7.984 kB / 1.3 GB, free: 165.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/2.1, allocations: 47.73 kB / 1.3 GB, free: 165.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/2.1, allocations: 15.98 kB / 1.3 GB, free: 165.2 MB / 0.698 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.445e-05/2.1, allocations: 128.8 kB / 1.3 GB, free: 165.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.244e-05/2.101, allocations: 51.44 kB / 1.3 GB, free: 165.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003677/2.101, allocations: 231.2 kB / 1.3 GB, free: 164.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/2.101, allocations: 8 kB / 1.3 GB, free: 164.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/2.101, allocations: 3.953 kB / 1.3 GB, free: 164.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/2.101, allocations: 3.938 kB / 1.3 GB, free: 164.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007587/2.102, allocations: 0.726 MB / 1.301 GB, free: 164 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/2.102, allocations: 3.953 kB / 1.301 GB, free: 164 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/2.102, allocations: 31.98 kB / 1.301 GB, free: 164 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/2.102, allocations: 0 / 1.301 GB, free: 164 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/2.102, allocations: 15.92 kB / 1.301 GB, free: 164 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/2.102, allocations: 4 kB / 1.301 GB, free: 164 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/2.102, allocations: 0 / 1.301 GB, free: 164 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/2.102, allocations: 369.3 kB / 1.301 GB, free: 163.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/2.102, allocations: 160.3 kB / 1.301 GB, free: 163.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/2.102, allocations: 4 kB / 1.301 GB, free: 163.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/2.103, allocations: 19.97 kB / 1.301 GB, free: 163.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/2.103, allocations: 19.92 kB / 1.301 GB, free: 163.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/2.103, allocations: 8 kB / 1.301 GB, free: 163.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003732/2.103, allocations: 409.5 kB / 1.302 GB, free: 162.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.62e-07/2.103, allocations: 0 / 1.302 GB, free: 162.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008216/2.104, allocations: 267.5 kB / 1.302 GB, free: 162.7 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 (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.001185/2.105, allocations: 0.5863 MB / 1.303 GB, free: 162.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004614/2.106, allocations: 308.7 kB / 1.303 GB, free: 161.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/2.106, allocations: 4.312 kB / 1.303 GB, free: 161.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/2.106, allocations: 79.84 kB / 1.303 GB, free: 161.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/2.107, allocations: 254.5 kB / 1.303 GB, free: 161.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009053/2.108, allocations: 0.5788 MB / 1.304 GB, free: 160.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/2.108, allocations: 0.8519 MB / 1.305 GB, free: 160.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004949/2.109, allocations: 184.1 kB / 1.305 GB, free: 159.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/2.109, allocations: 31.44 kB / 1.305 GB, free: 159.9 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/2.109, allocations: 0 / 1.305 GB, free: 159.9 MB / 0.698 GB Notification: Performance of Templates: time 0.01707/2.126, allocations: 12.17 MB / 1.317 GB, free: 147.8 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)