Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5134/0.5134, allocations: 90.81 MB / 104.5 MB, free: 13.86 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.381/1.381, allocations: 221.3 MB / 348.3 MB, free: 12.57 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.0008132/0.0008132, allocations: 98.53 kB / 421.2 MB, free: 5.734 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.04e-05, allocations: 7.984 kB / 0.4896 GB, free: 46.62 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1566, allocations: 72.3 MB / 0.5602 GB, free: 6.41 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.37/4.527, allocations: 1.827 GB / 2.387 GB, free: 44.17 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/4.527, allocations: 83.95 kB / 2.387 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.396/6.923, allocations: 0.6863 GB / 3.074 GB, free: 42.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.51e-07/6.923, allocations: 0 / 3.074 GB, free: 42.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002052/6.923, allocations: 43.97 kB / 3.074 GB, free: 42.39 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.007281/6.93, allocations: 1.859 MB / 3.076 GB, free: 40.49 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/6.931, allocations: 11.98 kB / 3.076 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005079/6.936, allocations: 0.8761 MB / 3.076 GB, free: 39.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003955/6.94, allocations: 1.144 MB / 3.078 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.514e-05/6.94, allocations: 70 kB / 3.078 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003506/6.94, allocations: 84 kB / 3.078 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/6.942, allocations: 1.283 MB / 3.079 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/6.942, allocations: 0 / 3.079 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/6.942, allocations: 32 kB / 3.079 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.746e-05/6.943, allocations: 41.98 kB / 3.079 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/6.944, allocations: 1.132 MB / 3.08 GB, free: 35.73 MB / 0.6042 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.008039/6.952, allocations: 5.051 MB / 3.085 GB, free: 30.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/6.954, allocations: 1.111 MB / 3.086 GB, free: 29.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007826/6.955, allocations: 0.5929 MB / 3.087 GB, free: 28.74 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/6.956, allocations: 0.9489 MB / 3.088 GB, free: 27.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000945/6.957, allocations: 0.7047 MB / 3.088 GB, free: 26.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=95): time 3.637e-06/6.957, allocations: 4 kB / 3.088 GB, free: 26.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=95): time 0.002816/6.96, allocations: 1.303 MB / 3.09 GB, free: 25.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/6.96, allocations: 72.17 kB / 3.09 GB, free: 25.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/6.961, allocations: 1.044 MB / 3.091 GB, free: 24.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001452/6.961, allocations: 41.7 kB / 3.091 GB, free: 24.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/6.962, allocations: 0.5486 MB / 3.091 GB, free: 23.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/6.962, allocations: 327.5 kB / 3.092 GB, free: 23.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.593e-05/6.962, allocations: 16 kB / 3.092 GB, free: 23.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.185e-05/6.962, allocations: 349.8 kB / 3.092 GB, free: 23.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006954/6.963, allocations: 497.8 kB / 3.092 GB, free: 22.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008341/6.964, allocations: 0.7215 MB / 3.093 GB, free: 21.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007311/6.964, allocations: 0.5123 MB / 3.094 GB, free: 21.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/6.964, allocations: 0 / 3.094 GB, free: 21.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002045/6.966, allocations: 1.343 MB / 3.095 GB, free: 19.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/6.966, allocations: 11.98 kB / 3.095 GB, free: 19.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/6.966, allocations: 4 kB / 3.095 GB, free: 19.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/6.967, allocations: 11.94 kB / 3.095 GB, free: 19.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/6.968, allocations: 356 kB / 3.095 GB, free: 19.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.369e-05/6.968, allocations: 11.94 kB / 3.095 GB, free: 19.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/6.97, allocations: 270.6 kB / 3.096 GB, free: 19.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/6.97, allocations: 59.95 kB / 3.096 GB, free: 19.28 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * 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.0002681/6.971, allocations: 174.9 kB / 3.096 GB, free: 19.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002797/6.971, allocations: 130.4 kB / 3.096 GB, free: 18.97 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/6.973, allocations: 1.437 MB / 3.097 GB, free: 17.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/6.973, allocations: 8 kB / 3.097 GB, free: 17.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/6.973, allocations: 0 / 3.097 GB, free: 17.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/6.973, allocations: 7.984 kB / 3.097 GB, free: 17.51 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004732/6.978, allocations: 3.051 MB / 3.1 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/6.978, allocations: 8.062 kB / 3.1 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/6.98, allocations: 311.5 kB / 3.101 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.831e-05/6.98, allocations: 12 kB / 3.101 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/6.98, allocations: 39.95 kB / 3.101 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/6.98, allocations: 15.89 kB / 3.101 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/6.98, allocations: 7.938 kB / 3.101 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003055/6.983, allocations: 2.466 MB / 3.103 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007554/6.984, allocations: 367.2 kB / 3.103 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002995/6.984, allocations: 39.98 kB / 3.104 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/6.986, allocations: 183.7 kB / 3.104 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/6.986, allocations: 72.59 kB / 3.104 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.797e-05/6.986, allocations: 47.95 kB / 3.104 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009967/6.987, allocations: 0.8174 MB / 3.105 GB, free: 9.828 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/6.987, allocations: 0 / 3.105 GB, free: 9.828 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001713/6.989, allocations: 0.5231 MB / 3.105 GB, free: 9.305 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.00291/6.991, allocations: 1.987 MB / 3.107 GB, free: 7.371 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001865/6.993, allocations: 1.201 MB / 3.108 GB, free: 6.164 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/6.993, allocations: 1.125 kB / 3.108 GB, free: 6.164 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008828/6.994, allocations: 0.6373 MB / 3.109 GB, free: 5.531 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003145/6.997, allocations: 0.5698 MB / 3.109 GB, free: 4.965 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/7.012, allocations: 3.117 MB / 3.112 GB, free: 1.758 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007167/7.013, allocations: 1.212 MB / 3.114 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002112/7.015, allocations: 393.8 kB / 3.114 GB, free: 132 kB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006823/7.015, allocations: 135.4 kB / 3.114 GB, free: 16 MB / 0.6198 GB Notification: Performance of SimCode: time 1.052e-06/7.015, allocations: 4 kB / 3.114 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of Templates: time 0.4173/7.433, allocations: 47.65 MB / 3.161 GB, free: 101.9 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)