Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001047, allocations: 181.5 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.4927/0.4927, allocations: 92 MB / 108.5 MB, free: 13.08 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.529/1.529, allocations: 223.2 MB / 354.3 MB, free: 12.18 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.001005/0.001005, allocations: 103.2 kB / 427.4 MB, free: 3.867 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003493, allocations: 12 kB / 0.4983 GB, free: 42.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1717, allocations: 72.3 MB / 0.5689 GB, free: 1.91 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.074/1.246, allocations: 383.3 MB / 0.9432 GB, free: 83.79 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003762/1.246, allocations: 107.1 kB / 0.9433 GB, free: 83.73 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.567/4.813, allocations: 0.997 GB / 1.94 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/4.813, allocations: 0 / 1.94 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003656/4.813, allocations: 83.92 kB / 1.94 GB, free: 28.3 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.008428/4.822, allocations: 3.063 MB / 1.943 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/4.822, allocations: 8.031 kB / 1.943 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/4.823, allocations: 328.2 kB / 1.944 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005778/4.829, allocations: 2.485 MB / 1.946 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.429e-05/4.829, allocations: 131 kB / 1.946 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002441/4.829, allocations: 176 kB / 1.946 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002638/4.832, allocations: 1.574 MB / 1.948 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.425e-05/4.832, allocations: 0 / 1.948 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/4.832, allocations: 64 kB / 1.948 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/4.832, allocations: 40 kB / 1.948 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/4.834, allocations: 1.112 MB / 1.949 GB, free: 19.14 MB / 0.6198 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.01308/4.847, allocations: 7.996 MB / 1.957 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007559/4.848, allocations: 465.9 kB / 1.957 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005213/4.848, allocations: 0.7524 MB / 1.958 GB, free: 9.277 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/4.848, allocations: 47.08 kB / 1.958 GB, free: 9.223 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 3.216e-06/4.848, allocations: 0 / 1.958 GB, free: 9.223 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.002103/4.85, allocations: 1.011 MB / 1.959 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/4.85, allocations: 55.97 kB / 1.959 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002702/4.853, allocations: 2.089 MB / 1.961 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002931/4.853, allocations: 49.7 kB / 1.961 GB, free: 5.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008594/4.854, allocations: 1.155 MB / 1.962 GB, free: 4.805 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/4.854, allocations: 216.9 kB / 1.963 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/4.855, allocations: 27.94 kB / 1.963 GB, free: 4.562 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001371/4.855, allocations: 345.9 kB / 1.963 GB, free: 4.219 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006589/4.855, allocations: 342.4 kB / 1.963 GB, free: 3.883 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008209/4.856, allocations: 0.8118 MB / 1.964 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006464/4.857, allocations: 462.7 kB / 1.965 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/4.857, allocations: 7.938 kB / 1.965 GB, free: 2.414 MB / 0.6198 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00191/4.859, allocations: 1.26 MB / 1.966 GB, free: 1.148 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001223/4.86, allocations: 3.214 MB / 1.969 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/4.86, allocations: 15.95 kB / 1.969 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.409e-05/4.86, allocations: 16 kB / 1.969 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/4.861, allocations: 255.6 kB / 1.969 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.614e-05/4.861, allocations: 15.94 kB / 1.969 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/4.863, allocations: 270.1 kB / 1.969 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/4.864, allocations: 55.97 kB / 1.97 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/4.864, allocations: 4 kB / 1.97 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001815/4.865, allocations: 1.003 MB / 1.971 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/4.865, allocations: 8 kB / 1.971 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/4.865, allocations: 12 kB / 1.971 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009306/4.866, allocations: 264.1 kB / 1.971 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/4.866, allocations: 12 kB / 1.971 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/4.868, allocations: 242.5 kB / 1.971 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.971e-05/4.869, allocations: 55.98 kB / 1.971 GB, free: 11.46 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (138): * Single equations (assignments): 138 * 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.001587/4.87, allocations: 0.5866 MB / 1.972 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000433/4.871, allocations: 233 kB / 1.972 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/4.872, allocations: 0.9343 MB / 1.973 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/4.872, allocations: 4 kB / 1.973 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/4.872, allocations: 4 kB / 1.973 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001083/4.873, allocations: 0.722 MB / 1.974 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004851/4.878, allocations: 2.679 MB / 1.976 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/4.878, allocations: 0 / 1.976 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005998/4.879, allocations: 147.8 kB / 1.976 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-06/4.879, allocations: 4 kB / 1.976 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.892e-05/4.879, allocations: 23.94 kB / 1.976 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/4.879, allocations: 4 kB / 1.976 GB, free: 6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/4.879, allocations: 4.094 kB / 1.976 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/4.881, allocations: 1.405 MB / 1.978 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/4.882, allocations: 469.7 kB / 1.978 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/4.883, allocations: 15.94 kB / 1.978 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/4.884, allocations: 167.6 kB / 1.978 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/4.884, allocations: 44.5 kB / 1.978 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.871e-05/4.884, allocations: 35.97 kB / 1.978 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002415/4.886, allocations: 1.589 MB / 1.98 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/4.886, allocations: 0 / 1.98 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003886/4.89, allocations: 1.205 MB / 1.981 GB, free: 0.9922 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.4244/5.315, allocations: 1.273 MB / 1.982 GB, free: 61.31 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003684/5.319, allocations: 1.364 MB / 1.984 GB, free: 61.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/5.319, allocations: 1.281 kB / 1.984 GB, free: 61.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007253/5.319, allocations: 338.8 kB / 1.984 GB, free: 61.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009264/5.329, allocations: 1.492 MB / 1.985 GB, free: 61.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008596/5.337, allocations: 4.442 MB / 1.99 GB, free: 59.29 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001571/5.339, allocations: 1.647 MB / 1.991 GB, free: 58.56 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003342/5.342, allocations: 0.492 MB / 1.992 GB, free: 58.54 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005934/5.343, allocations: 185.5 kB / 1.992 GB, free: 58.53 MB / 0.6355 GB Notification: Performance of SimCode: time 1.492e-06/5.343, allocations: 0 / 1.992 GB, free: 58.53 MB / 0.6355 GB Notification: Performance of Templates: time 0.09301/5.436, allocations: 51.59 MB / 2.042 GB, free: 56.02 MB / 0.6355 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)