Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 181.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5202/0.5202, allocations: 91.99 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.66/1.66, allocations: 223.2 MB / 354.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 100.2 kB / 427.4 MB, free: 3.938 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003928, allocations: 11.98 kB / 0.4982 GB, free: 42.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1675, allocations: 72.31 MB / 0.5689 GB, free: 1.953 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.069/1.237, allocations: 351.7 MB / 0.9123 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/1.237, allocations: 105.6 kB / 0.9124 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.648/2.885, allocations: 438.9 MB / 1.341 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/2.885, allocations: 0 / 1.341 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001002/2.885, allocations: 35.44 kB / 1.341 GB, free: 116.8 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003057/2.889, allocations: 1.525 MB / 1.343 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/2.889, allocations: 10.75 kB / 1.343 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002907/2.889, allocations: 153.8 kB / 1.343 GB, free: 116 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/2.891, allocations: 0.8409 MB / 1.344 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.38e-05/2.891, allocations: 82.28 kB / 1.344 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/2.891, allocations: 120 kB / 1.344 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009544/2.892, allocations: 0.6317 MB / 1.344 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/2.892, allocations: 4.688 kB / 1.344 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.139e-05/2.892, allocations: 21.97 kB / 1.344 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/2.892, allocations: 21.33 kB / 1.344 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00077/2.893, allocations: 469.6 kB / 1.345 GB, free: 115.6 MB / 0.6042 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.004395/2.897, allocations: 3.074 MB / 1.348 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005361/2.898, allocations: 332.7 kB / 1.348 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002697/2.898, allocations: 345.6 kB / 1.349 GB, free: 114 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/2.898, allocations: 38.41 kB / 1.349 GB, free: 114 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.165e-06/2.898, allocations: 7.109 kB / 1.349 GB, free: 114 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001215/2.899, allocations: 0.5656 MB / 1.349 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/2.899, allocations: 55.22 kB / 1.349 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008416/2.9, allocations: 0.7807 MB / 1.35 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001344/2.9, allocations: 58.92 kB / 1.35 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/2.901, allocations: 0.555 MB / 1.351 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.698e-05/2.901, allocations: 118.6 kB / 1.351 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/2.901, allocations: 14.75 kB / 1.351 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.152e-05/2.901, allocations: 326.3 kB / 1.351 GB, free: 113 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/2.901, allocations: 187.4 kB / 1.351 GB, free: 113 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/2.902, allocations: 1.426 MB / 1.353 GB, free: 112 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/2.903, allocations: 308.3 kB / 1.353 GB, free: 112 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/2.903, allocations: 5.625 kB / 1.353 GB, free: 112 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001096/2.904, allocations: 0.6608 MB / 1.353 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000172/2.904, allocations: 0.8066 MB / 1.354 GB, free: 111 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/2.904, allocations: 3.875 kB / 1.354 GB, free: 111 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/2.904, allocations: 3.844 kB / 1.354 GB, free: 111 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/2.905, allocations: 199 kB / 1.354 GB, free: 111 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/2.907, allocations: 2.969 MB / 1.357 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003258/2.91, allocations: 0.907 MB / 1.358 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.064e-05/2.91, allocations: 29.17 kB / 1.358 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/2.91, allocations: 5.062 kB / 1.358 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008953/2.911, allocations: 0.5088 MB / 1.359 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/2.911, allocations: 3.719 kB / 1.359 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/2.911, allocations: 11.77 kB / 1.359 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006344/2.912, allocations: 152.7 kB / 1.359 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/2.912, allocations: 11.66 kB / 1.359 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003101/2.915, allocations: 0.9032 MB / 1.36 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/2.915, allocations: 32.67 kB / 1.36 GB, free: 108 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006199/2.915, allocations: 333.4 kB / 1.36 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/2.916, allocations: 96.91 kB / 1.36 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/2.917, allocations: 0.5426 MB / 1.361 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/2.917, allocations: 10.22 kB / 1.361 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/2.917, allocations: 0 / 1.361 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/2.917, allocations: 0 / 1.361 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/2.919, allocations: 1.277 MB / 1.362 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/2.919, allocations: 3.719 kB / 1.362 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/2.919, allocations: 122.2 kB / 1.362 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/2.919, allocations: 5.844 kB / 1.362 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/2.919, allocations: 10.09 kB / 1.362 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008466/2.92, allocations: 2.941 MB / 1.365 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/2.92, allocations: 3.906 kB / 1.365 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000787/2.921, allocations: 0.6441 MB / 1.366 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/2.921, allocations: 219.8 kB / 1.366 GB, free: 104 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-05/2.921, allocations: 10.23 kB / 1.366 GB, free: 104 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005534/2.922, allocations: 74.77 kB / 1.366 GB, free: 104 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/2.922, allocations: 31.47 kB / 1.366 GB, free: 104 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/2.922, allocations: 13.59 kB / 1.366 GB, free: 104 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006337/2.923, allocations: 0.6019 MB / 1.367 GB, free: 103.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.21e-07/2.923, allocations: 0 / 1.367 GB, free: 103.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001972/2.925, allocations: 0.608 MB / 1.367 GB, free: 103.8 MB / 0.6042 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009395/2.926, allocations: 0.5091 MB / 1.368 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002226/2.928, allocations: 0.8101 MB / 1.369 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/2.928, allocations: 0 / 1.369 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004775/2.928, allocations: 232.4 kB / 1.369 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/2.93, allocations: 483.3 kB / 1.369 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/2.933, allocations: 1.793 MB / 1.371 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/2.933, allocations: 1.047 MB / 1.372 GB, free: 102 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001343/2.935, allocations: 210.9 kB / 1.372 GB, free: 102 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/2.935, allocations: 81.33 kB / 1.372 GB, free: 102 MB / 0.6042 GB Notification: Performance of SimCode: time 1.393e-06/2.935, allocations: 0 / 1.372 GB, free: 102 MB / 0.6042 GB Notification: Performance of Templates: time 0.06106/2.996, allocations: 27.46 MB / 1.399 GB, free: 97.31 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)