Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001432, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5054/0.5054, 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.396/1.396, allocations: 221.5 MB / 343.2 MB, free: 1.598 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.0009033/0.0009033, allocations: 90.45 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.844e-05/1.846e-05, allocations: 4 kB / 494.5 MB, free: 52.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1298, allocations: 72.32 MB / 0.5535 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.946/5.076, allocations: 2.111 GB / 2.664 GB, free: 72.38 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/5.076, allocations: 83.95 kB / 2.664 GB, free: 72.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.243/7.319, allocations: 0.5968 GB / 3.261 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.773e-06/7.319, allocations: 0 / 3.261 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001027/7.319, allocations: 37.05 kB / 3.261 GB, free: 114.9 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002555/7.322, allocations: 1.347 MB / 3.263 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/7.322, allocations: 13.53 kB / 3.263 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00273/7.324, allocations: 0.5715 MB / 3.263 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/7.326, allocations: 0.9141 MB / 3.264 GB, free: 114 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/7.326, allocations: 23.97 kB / 3.264 GB, free: 114 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/7.327, allocations: 46.5 kB / 3.264 GB, free: 114 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009142/7.327, allocations: 0.5588 MB / 3.265 GB, free: 114 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/7.329, allocations: 0.8232 MB / 3.266 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/7.329, allocations: 6.062 kB / 3.266 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.918e-05/7.329, allocations: 8.938 kB / 3.266 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/7.329, allocations: 34.77 kB / 3.266 GB, free: 113.7 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.004549/7.333, allocations: 4.808 MB / 3.27 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008739/7.334, allocations: 0.5554 MB / 3.271 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/7.335, allocations: 285.8 kB / 3.271 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009746/7.336, allocations: 1.593 MB / 3.273 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005177/7.336, allocations: 388.5 kB / 3.273 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=61): time 3.907e-06/7.336, allocations: 2.625 kB / 3.273 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.001528/7.338, allocations: 0.7192 MB / 3.274 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/7.338, allocations: 59.25 kB / 3.274 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008542/7.339, allocations: 0.8371 MB / 3.275 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.327e-05/7.339, allocations: 25.7 kB / 3.275 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003634/7.339, allocations: 0.5598 MB / 3.275 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/7.339, allocations: 199 kB / 3.275 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/7.339, allocations: 8.531 kB / 3.275 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.464e-05/7.339, allocations: 335.9 kB / 3.276 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/7.34, allocations: 247.1 kB / 3.276 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005391/7.34, allocations: 0.5396 MB / 3.276 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007581/7.341, allocations: 347.3 kB / 3.277 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/7.341, allocations: 0 / 3.277 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00152/7.343, allocations: 0.879 MB / 3.278 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/7.343, allocations: 6.062 kB / 3.278 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/7.343, allocations: 11.23 kB / 3.278 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/7.343, allocations: 19.05 kB / 3.278 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/7.344, allocations: 279.2 kB / 3.278 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/7.344, allocations: 28.23 kB / 3.278 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/7.345, allocations: 162.3 kB / 3.278 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/7.345, allocations: 58.28 kB / 3.278 GB, free: 107.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0001854/7.345, allocations: 140.3 kB / 3.278 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/7.345, allocations: 110.9 kB / 3.278 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/7.347, allocations: 1.025 MB / 3.279 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/7.347, allocations: 10.97 kB / 3.279 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/7.347, allocations: 3.953 kB / 3.279 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/7.347, allocations: 9.922 kB / 3.279 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002827/7.35, allocations: 1.989 MB / 3.281 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/7.35, allocations: 0 / 3.281 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009456/7.351, allocations: 202.1 kB / 3.282 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/7.351, allocations: 3.625 kB / 3.282 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.588e-05/7.351, allocations: 23.55 kB / 3.282 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/7.351, allocations: 5.625 kB / 3.282 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/7.351, allocations: 0 / 3.282 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/7.353, allocations: 1.521 MB / 3.283 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/7.354, allocations: 305.4 kB / 3.283 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/7.354, allocations: 7.344 kB / 3.283 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000887/7.355, allocations: 122.5 kB / 3.283 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.943e-05/7.355, allocations: 53.17 kB / 3.284 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.293e-05/7.355, allocations: 42.55 kB / 3.284 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006281/7.355, allocations: 0.6222 MB / 3.284 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.82e-07/7.355, allocations: 0 / 3.284 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001185/7.357, allocations: 379.2 kB / 3.285 GB, free: 106 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001379/7.358, allocations: 0.7403 MB / 3.285 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001128/7.359, allocations: 0.7276 MB / 3.286 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/7.359, allocations: 0 / 3.286 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005208/7.36, allocations: 403.8 kB / 3.286 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/7.361, allocations: 325.5 kB / 3.287 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/7.364, allocations: 1.75 MB / 3.288 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005719/7.365, allocations: 1.141 MB / 3.29 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008671/7.366, allocations: 243.6 kB / 3.29 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/7.366, allocations: 103.7 kB / 3.29 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/7.366, allocations: 0 / 3.29 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.02718/7.393, allocations: 17.1 MB / 3.307 GB, free: 103.7 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)