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 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.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.8155/0.8155, allocations: 140.1 MB / 156 MB, free: 5.141 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.0009311/0.0009311, allocations: 185 kB / 188.5 MB, free: 15.8 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.378/1.378, allocations: 205.4 MB / 426.3 MB, free: 8.422 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.000786/0.0007857, allocations: 74.38 kB / 0.4945 GB, free: 8.379 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001578/0.001578, allocations: 262.2 kB / 0.5728 GB, free: 66.19 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.0004677, allocations: 16 kB / 0.662 GB, free: 6.773 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3537, allocations: 79.31 MB / 0.7395 GB, free: 46.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6943/1.048, allocations: 372.5 MB / 1.103 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/1.048, allocations: 105 kB / 1.103 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.6357/1.684, allocations: 174.5 MB / 1.274 GB, free: 138.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.214e-06/1.684, allocations: 4 kB / 1.274 GB, free: 138.5 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.627e-05/1.684, allocations: 12 kB / 1.274 GB, free: 138.5 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001525/1.686, allocations: 0.8643 MB / 1.275 GB, free: 137.6 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/1.686, allocations: 8.031 kB / 1.275 GB, free: 137.6 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/1.686, allocations: 64.27 kB / 1.275 GB, free: 137.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007531/1.687, allocations: 474.4 kB / 1.275 GB, free: 137 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/1.687, allocations: 29.25 kB / 1.275 GB, free: 137 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/1.687, allocations: 28 kB / 1.275 GB, free: 137 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004441/1.687, allocations: 294.2 kB / 1.276 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/1.687, allocations: 0 / 1.276 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/1.687, allocations: 8 kB / 1.276 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.687, allocations: 8 kB / 1.276 GB, free: 136.6 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003667/1.688, allocations: 202.1 kB / 1.276 GB, free: 136.5 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.001832/1.69, allocations: 1.507 MB / 1.277 GB, free: 134.8 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/1.69, allocations: 171.3 kB / 1.277 GB, free: 134.7 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/1.69, allocations: 88.8 kB / 1.277 GB, free: 134.6 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/1.691, allocations: 1.292 MB / 1.279 GB, free: 133.1 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/1.691, allocations: 34.56 kB / 1.279 GB, free: 133 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=15): time 1.773e-06/1.691, allocations: 0 / 1.279 GB, free: 133 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15): time 0.0005825/1.692, allocations: 262 kB / 1.279 GB, free: 132.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/1.692, allocations: 55.41 kB / 1.279 GB, free: 132.7 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005886/1.693, allocations: 0.573 MB / 1.28 GB, free: 132.1 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/1.693, allocations: 29.7 kB / 1.28 GB, free: 132.1 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/1.693, allocations: 276 kB / 1.28 GB, free: 131.8 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/1.693, allocations: 55.28 kB / 1.28 GB, free: 131.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/1.693, allocations: 4 kB / 1.28 GB, free: 131.8 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.562e-05/1.693, allocations: 354.8 kB / 1.28 GB, free: 131.4 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/1.693, allocations: 84.44 kB / 1.28 GB, free: 131.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/1.693, allocations: 237.2 kB / 1.281 GB, free: 131 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003243/1.694, allocations: 240.1 kB / 1.281 GB, free: 130.8 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.694, allocations: 4 kB / 1.281 GB, free: 130.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005157/1.694, allocations: 308.9 kB / 1.281 GB, free: 130.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.121e-05/1.694, allocations: 165.6 kB / 1.281 GB, free: 130.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.694, allocations: 4 kB / 1.281 GB, free: 130.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/1.694, allocations: 4 kB / 1.281 GB, free: 130.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/1.695, allocations: 63.91 kB / 1.281 GB, free: 130.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/1.695, allocations: 8 kB / 1.281 GB, free: 130.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/1.695, allocations: 55.56 kB / 1.281 GB, free: 130.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/1.695, allocations: 16 kB / 1.281 GB, free: 130.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/1.695, allocations: 5.406 kB / 1.281 GB, free: 130.1 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004032/1.695, allocations: 235.8 kB / 1.282 GB, free: 129.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/1.695, allocations: 7.938 kB / 1.282 GB, free: 129.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.14e-06/1.695, allocations: 4.047 kB / 1.282 GB, free: 129.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/1.696, allocations: 76.14 kB / 1.282 GB, free: 129.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/1.696, allocations: 4 kB / 1.282 GB, free: 129.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/1.696, allocations: 47.69 kB / 1.282 GB, free: 129.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/1.696, allocations: 19.98 kB / 1.282 GB, free: 129.7 MB / 0.6667 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 () * Number of clocked 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 0.0001953/1.696, allocations: 264.9 kB / 1.282 GB, free: 129.4 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-05/1.696, allocations: 55.28 kB / 1.282 GB, free: 129.4 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005142/1.697, allocations: 264.1 kB / 1.282 GB, free: 129.1 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/1.697, allocations: 4 kB / 1.282 GB, free: 129.1 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.697, allocations: 3.938 kB / 1.282 GB, free: 129.1 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/1.697, allocations: 4 kB / 1.282 GB, free: 129.1 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008591/1.698, allocations: 0.7682 MB / 1.283 GB, free: 128.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.698, allocations: 7.938 kB / 1.283 GB, free: 128.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/1.698, allocations: 31.92 kB / 1.283 GB, free: 128.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/1.698, allocations: 4 kB / 1.283 GB, free: 128.2 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/1.698, allocations: 3.984 kB / 1.283 GB, free: 128.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/1.698, allocations: 4 kB / 1.283 GB, free: 128.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.698, allocations: 0 / 1.283 GB, free: 128.2 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003848/1.698, allocations: 370.3 kB / 1.284 GB, free: 127.8 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/1.698, allocations: 152.4 kB / 1.284 GB, free: 127.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.399e-05/1.699, allocations: 11.98 kB / 1.284 GB, free: 127.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/1.699, allocations: 15.98 kB / 1.284 GB, free: 127.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/1.699, allocations: 11.98 kB / 1.284 GB, free: 127.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/1.699, allocations: 12 kB / 1.284 GB, free: 127.6 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003643/1.699, allocations: 410.8 kB / 1.284 GB, free: 127.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/1.699, allocations: 0 / 1.284 GB, free: 127.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008277/1.7, allocations: 263.6 kB / 1.284 GB, free: 127 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 (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.001274/1.701, allocations: 0.6249 MB / 1.285 GB, free: 126.4 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006301/1.702, allocations: 341.8 kB / 1.285 GB, free: 126.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.702, allocations: 0 / 1.285 GB, free: 126.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/1.702, allocations: 96.83 kB / 1.285 GB, free: 126 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/1.703, allocations: 245.2 kB / 1.286 GB, free: 125.8 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/1.705, allocations: 0.9615 MB / 1.287 GB, free: 124.8 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/1.705, allocations: 0.8431 MB / 1.287 GB, free: 123.9 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003851/1.705, allocations: 112.6 kB / 1.287 GB, free: 123.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.722e-05/1.705, allocations: 39.44 kB / 1.288 GB, free: 123.7 MB / 0.6667 GB Notification: Performance of SimCode: time 1.332e-06/1.705, allocations: 0 / 1.288 GB, free: 123.7 MB / 0.6667 GB Notification: Performance of Templates: time 0.01793/1.723, allocations: 11.24 MB / 1.299 GB, free: 112.6 MB / 0.6667 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)