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.0009177/0.0009177, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5288/0.5288, allocations: 90.92 MB / 99.35 MB, free: 2.207 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 221.5 MB / 343.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 95.31 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.747e-05/1.751e-05, allocations: 4 kB / 494.5 MB, free: 52.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1603, allocations: 72.32 MB / 0.5535 GB, free: 12.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.192/1.352, allocations: 382.6 MB / 0.9272 GB, free: 98.34 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/1.352, allocations: 100.2 kB / 0.9273 GB, free: 98.29 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.306/4.658, allocations: 0.9888 GB / 1.916 GB, free: 42.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.262e-06/4.659, allocations: 0 / 1.916 GB, free: 42.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0004498/4.659, allocations: 87.84 kB / 1.916 GB, free: 41.98 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.007077/4.666, allocations: 2.552 MB / 1.919 GB, free: 39.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/4.666, allocations: 12.03 kB / 1.919 GB, free: 39.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/4.668, allocations: 328.2 kB / 1.919 GB, free: 39.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005679/4.673, allocations: 2.466 MB / 1.921 GB, free: 36.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.101e-05/4.673, allocations: 48 kB / 1.921 GB, free: 36.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004234/4.674, allocations: 107.9 kB / 1.922 GB, free: 36.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002064/4.676, allocations: 0.986 MB / 1.923 GB, free: 35.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002381/4.678, allocations: 1.302 MB / 1.924 GB, free: 34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.871e-05/4.678, allocations: 0 / 1.924 GB, free: 34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/4.679, allocations: 7.75 kB / 1.924 GB, free: 33.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.321e-05/4.679, allocations: 43.94 kB / 1.924 GB, free: 33.95 MB / 0.6198 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.009578/4.688, allocations: 7.646 MB / 1.931 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005329/4.689, allocations: 444.7 kB / 1.932 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/4.689, allocations: 303 kB / 1.932 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005101/4.69, allocations: 0.7563 MB / 1.933 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/4.69, allocations: 39.12 kB / 1.933 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 2.675e-06/4.69, allocations: 4 kB / 1.933 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.001475/4.691, allocations: 0.7268 MB / 1.933 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/4.691, allocations: 55.97 kB / 1.934 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/4.693, allocations: 1.715 MB / 1.935 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/4.693, allocations: 29.7 kB / 1.935 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000635/4.694, allocations: 1.16 MB / 1.936 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/4.694, allocations: 205 kB / 1.937 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/4.694, allocations: 0 / 1.937 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.824e-05/4.694, allocations: 353.9 kB / 1.937 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004271/4.695, allocations: 306.5 kB / 1.937 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005946/4.695, allocations: 0.7506 MB / 1.938 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007362/4.696, allocations: 454.7 kB / 1.938 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/4.696, allocations: 0 / 1.938 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001637/4.698, allocations: 1.114 MB / 1.939 GB, free: 17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005665/4.698, allocations: 3.164 MB / 1.943 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/4.698, allocations: 8 kB / 1.943 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/4.698, allocations: 19.95 kB / 1.943 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009438/4.699, allocations: 263.4 kB / 1.943 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-05/4.699, allocations: 23.86 kB / 1.943 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/4.701, allocations: 193.8 kB / 1.943 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.204e-05/4.701, allocations: 55.97 kB / 1.943 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/4.701, allocations: 4.781 kB / 1.943 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001256/4.702, allocations: 0.854 MB / 1.944 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/4.702, allocations: 8 kB / 1.944 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/4.702, allocations: 12 kB / 1.944 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008324/4.703, allocations: 251.6 kB / 1.944 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/4.703, allocations: 19.92 kB / 1.944 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/4.705, allocations: 163.3 kB / 1.944 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.552e-05/4.705, allocations: 59.97 kB / 1.944 GB, free: 11.6 MB / 0.6198 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 () * 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.0002533/4.705, allocations: 136.8 kB / 1.945 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003172/4.705, allocations: 217.2 kB / 1.945 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/4.707, allocations: 0.8252 MB / 1.946 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/4.707, allocations: 8 kB / 1.946 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/4.707, allocations: 4 kB / 1.946 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008251/4.708, allocations: 0.6539 MB / 1.946 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003913/4.712, allocations: 2.41 MB / 1.949 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/4.712, allocations: 4 kB / 1.949 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005226/4.712, allocations: 155.9 kB / 1.949 GB, free: 7.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.547e-06/4.712, allocations: 4 kB / 1.949 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/4.712, allocations: 4 kB / 1.949 GB, free: 7.082 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/4.712, allocations: 4 kB / 1.949 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/4.712, allocations: 7.953 kB / 1.949 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/4.714, allocations: 1.273 MB / 1.95 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007243/4.715, allocations: 446.1 kB / 1.95 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/4.715, allocations: 0 / 1.95 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/4.716, allocations: 151.7 kB / 1.951 GB, free: 5.145 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.919e-05/4.716, allocations: 43.88 kB / 1.951 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-05/4.716, allocations: 35.97 kB / 1.951 GB, free: 5.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001505/4.718, allocations: 1.254 MB / 1.952 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.02e-07/4.718, allocations: 0 / 1.952 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003933/4.722, allocations: 1.219 MB / 1.953 GB, free: 2.582 MB / 0.6198 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 () * 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.002101/4.724, allocations: 1.239 MB / 1.954 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001938/4.726, allocations: 1.291 MB / 1.956 GB, free: 204 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/4.726, allocations: 0 / 1.956 GB, free: 204 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003787/4.726, allocations: 306.3 kB / 1.956 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006556/4.733, allocations: 1.25 MB / 1.957 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005163/4.738, allocations: 2.792 MB / 1.96 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/4.739, allocations: 1.648 MB / 1.961 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002734/4.742, allocations: 0.6376 MB / 1.962 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/4.742, allocations: 119.4 kB / 1.962 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of SimCode: time 7.42e-07/4.742, allocations: 0 / 1.962 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of Templates: time 0.5057/5.248, allocations: 44.78 MB / 2.006 GB, free: 65.14 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)