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 1.197/1.197, allocations: 141.8 MB / 149.3 MB, free: 9.246 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.001294/0.001294, allocations: 172.9 kB / 182.2 MB, free: 9.469 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.498/1.498, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.001025/0.001025, allocations: 104 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001769/0.001769, allocations: 287.1 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.526e-05/1.528e-05, allocations: 0 / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.478/0.4781, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8733/1.351, allocations: 360.5 MB / 1.109 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/1.352, allocations: 95.27 kB / 1.11 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7797/2.131, allocations: 177.5 MB / 1.283 GB, free: 170.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.585e-06/2.132, allocations: 4 kB / 1.283 GB, free: 170.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.602e-05/2.132, allocations: 12 kB / 1.283 GB, free: 170 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.001202/2.133, allocations: 0.7708 MB / 1.284 GB, free: 169.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/2.133, allocations: 12.03 kB / 1.284 GB, free: 169.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/2.133, allocations: 55.34 kB / 1.284 GB, free: 169.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007335/2.134, allocations: 463.5 kB / 1.284 GB, free: 168.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/2.134, allocations: 8 kB / 1.284 GB, free: 168.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.235e-05/2.134, allocations: 16 kB / 1.284 GB, free: 168.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002915/2.134, allocations: 141.1 kB / 1.284 GB, free: 168.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/2.135, allocations: 233.1 kB / 1.285 GB, free: 168.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/2.135, allocations: 4 kB / 1.285 GB, free: 168.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/2.135, allocations: 0 / 1.285 GB, free: 168.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/2.135, allocations: 4 kB / 1.285 GB, free: 168.2 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.001838/2.136, allocations: 1.452 MB / 1.286 GB, free: 166.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/2.137, allocations: 138.8 kB / 1.286 GB, free: 166.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.845e-05/2.137, allocations: 68.78 kB / 1.286 GB, free: 166.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00141/2.138, allocations: 1.292 MB / 1.287 GB, free: 165 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/2.138, allocations: 38.56 kB / 1.287 GB, free: 165 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/2.138, allocations: 0 / 1.287 GB, free: 165 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0005191/2.139, allocations: 182.7 kB / 1.288 GB, free: 164.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/2.139, allocations: 59.36 kB / 1.288 GB, free: 164.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004981/2.139, allocations: 461.4 kB / 1.288 GB, free: 164.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/2.139, allocations: 29.7 kB / 1.288 GB, free: 164.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/2.139, allocations: 268.2 kB / 1.288 GB, free: 163.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/2.14, allocations: 51.3 kB / 1.288 GB, free: 163.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/2.14, allocations: 0 / 1.288 GB, free: 163.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.855e-05/2.14, allocations: 354.8 kB / 1.289 GB, free: 163.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.701e-05/2.14, allocations: 48.55 kB / 1.289 GB, free: 163.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/2.14, allocations: 205.1 kB / 1.289 GB, free: 163.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/2.14, allocations: 96.44 kB / 1.289 GB, free: 163.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/2.14, allocations: 0 / 1.289 GB, free: 163.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005103/2.141, allocations: 265.8 kB / 1.289 GB, free: 162.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001715/2.141, allocations: 0.9722 MB / 1.29 GB, free: 161.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/2.141, allocations: 7.938 kB / 1.29 GB, free: 161.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/2.141, allocations: 7.953 kB / 1.29 GB, free: 161.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/2.141, allocations: 67.91 kB / 1.29 GB, free: 161.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/2.141, allocations: 7.984 kB / 1.29 GB, free: 161.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/2.142, allocations: 39.67 kB / 1.29 GB, free: 161.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/2.142, allocations: 19.98 kB / 1.291 GB, free: 161.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/2.142, allocations: 4 kB / 1.291 GB, free: 161.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004221/2.142, allocations: 192.8 kB / 1.291 GB, free: 161.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/2.142, allocations: 0 / 1.291 GB, free: 161.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-06/2.142, allocations: 4 kB / 1.291 GB, free: 161.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/2.142, allocations: 71.89 kB / 1.291 GB, free: 161.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/2.142, allocations: 7.938 kB / 1.291 GB, free: 161.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003734/2.143, allocations: 40.06 kB / 1.291 GB, free: 161.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/2.143, allocations: 16 kB / 1.291 GB, free: 161.3 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.211e-05/2.143, allocations: 112.9 kB / 1.291 GB, free: 161.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.991e-05/2.143, allocations: 47.39 kB / 1.291 GB, free: 161.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005193/2.144, allocations: 230.6 kB / 1.291 GB, free: 160.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/2.144, allocations: 4 kB / 1.291 GB, free: 160.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/2.144, allocations: 0 / 1.291 GB, free: 160.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/2.144, allocations: 7.938 kB / 1.291 GB, free: 160.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007621/2.144, allocations: 0.6737 MB / 1.292 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/2.144, allocations: 128 / 1.292 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/2.145, allocations: 39.92 kB / 1.292 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/2.145, allocations: 0 / 1.292 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/2.145, allocations: 7.953 kB / 1.292 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/2.145, allocations: 7.984 kB / 1.292 GB, free: 160.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/2.145, allocations: 0 / 1.292 GB, free: 160.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/2.145, allocations: 368.9 kB / 1.292 GB, free: 159.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/2.145, allocations: 152.5 kB / 1.292 GB, free: 159.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/2.145, allocations: 0 / 1.292 GB, free: 159.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/2.145, allocations: 31.91 kB / 1.292 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/2.145, allocations: 11.98 kB / 1.292 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/2.145, allocations: 4 kB / 1.292 GB, free: 159.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002966/2.146, allocations: 366.9 kB / 1.293 GB, free: 159.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/2.146, allocations: 0 / 1.293 GB, free: 159.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008137/2.147, allocations: 255.5 kB / 1.293 GB, free: 158.9 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.001057/2.148, allocations: 0.5583 MB / 1.294 GB, free: 158.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004203/2.148, allocations: 291.1 kB / 1.294 GB, free: 158.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/2.148, allocations: 0 / 1.294 GB, free: 158.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.033e-05/2.148, allocations: 67.92 kB / 1.294 GB, free: 158.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/2.149, allocations: 217.8 kB / 1.294 GB, free: 157.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008731/2.15, allocations: 0.5599 MB / 1.295 GB, free: 157.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/2.15, allocations: 0.8553 MB / 1.296 GB, free: 156.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005153/2.151, allocations: 184.3 kB / 1.296 GB, free: 156.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/2.151, allocations: 27.44 kB / 1.296 GB, free: 156.2 MB / 0.698 GB Notification: Performance of SimCode: time 3.2e-07/2.151, allocations: 0 / 1.296 GB, free: 156.2 MB / 0.698 GB Notification: Performance of Templates: time 0.01499/2.166, allocations: 9.907 MB / 1.305 GB, free: 146.4 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)