Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, 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.5009/0.5009, allocations: 90.92 MB / 99.35 MB, free: 2.191 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.434/1.434, allocations: 221.5 MB / 343.2 MB, free: 1.531 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.0009475/0.0009475, allocations: 83.95 kB / 415.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.844e-05/1.845e-05, allocations: 4 kB / 494.5 MB, free: 52.37 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1375, allocations: 72.32 MB / 0.5535 GB, free: 12.24 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.116/4.254, allocations: 1.827 GB / 2.38 GB, free: 77.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/4.254, allocations: 82.08 kB / 2.38 GB, free: 77.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.105/8.359, allocations: 1.007 GB / 3.387 GB, free: 110.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.783e-06/8.359, allocations: 0 / 3.387 GB, free: 110.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001446/8.36, allocations: 42.42 kB / 3.387 GB, free: 110.2 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.007791/8.367, allocations: 1.832 MB / 3.389 GB, free: 109.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.789e-05/8.367, allocations: 9.406 kB / 3.389 GB, free: 109.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004795/8.372, allocations: 0.6904 MB / 3.389 GB, free: 109.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003811/8.376, allocations: 1.052 MB / 3.39 GB, free: 109.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.925e-05/8.376, allocations: 26.78 kB / 3.39 GB, free: 109.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/8.376, allocations: 51.48 kB / 3.39 GB, free: 109.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001816/8.378, allocations: 0.8339 MB / 3.391 GB, free: 109.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/8.38, allocations: 1.157 MB / 3.392 GB, free: 109.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/8.38, allocations: 3.25 kB / 3.392 GB, free: 109.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.58e-05/8.38, allocations: 5.812 kB / 3.392 GB, free: 109.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.777e-05/8.38, allocations: 47.77 kB / 3.392 GB, free: 109.1 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.008892/8.389, allocations: 5.554 MB / 3.398 GB, free: 106.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/8.391, allocations: 0.9029 MB / 3.399 GB, free: 106.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008078/8.392, allocations: 484.9 kB / 3.399 GB, free: 106.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008306/8.393, allocations: 0.5753 MB / 3.4 GB, free: 105.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009838/8.394, allocations: 0.5816 MB / 3.4 GB, free: 105.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=80): time 4.208e-06/8.394, allocations: 1.531 kB / 3.4 GB, free: 105.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=80): time 0.002395/8.396, allocations: 1.059 MB / 3.401 GB, free: 105.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/8.396, allocations: 65.14 kB / 3.401 GB, free: 105.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/8.398, allocations: 0.85 MB / 3.402 GB, free: 105.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-05/8.398, allocations: 32.66 kB / 3.402 GB, free: 105.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000533/8.398, allocations: 0.5922 MB / 3.403 GB, free: 105.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002993/8.398, allocations: 264.6 kB / 3.403 GB, free: 104.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.54e-05/8.399, allocations: 0 / 3.403 GB, free: 104.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001067/8.399, allocations: 342.5 kB / 3.403 GB, free: 104.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007032/8.399, allocations: 404.1 kB / 3.404 GB, free: 104.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009449/8.4, allocations: 0.6962 MB / 3.404 GB, free: 104.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008194/8.401, allocations: 463.3 kB / 3.405 GB, free: 104.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/8.401, allocations: 3.062 kB / 3.405 GB, free: 104.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002117/8.403, allocations: 1.154 MB / 3.406 GB, free: 104.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/8.403, allocations: 11.28 kB / 3.406 GB, free: 104.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/8.403, allocations: 8.438 kB / 3.406 GB, free: 104.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.53e-05/8.403, allocations: 17.67 kB / 3.406 GB, free: 104.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/8.405, allocations: 315.9 kB / 3.406 GB, free: 104.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.53e-05/8.405, allocations: 19.42 kB / 3.406 GB, free: 104.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/8.407, allocations: 191.9 kB / 3.407 GB, free: 104.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/8.407, allocations: 60.08 kB / 3.407 GB, free: 104.1 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0002434/8.407, allocations: 146.4 kB / 3.407 GB, free: 104 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/8.407, allocations: 115.7 kB / 3.407 GB, free: 104 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/8.409, allocations: 1.154 MB / 3.408 GB, free: 103.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/8.409, allocations: 9.125 kB / 3.408 GB, free: 103.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/8.409, allocations: 3.953 kB / 3.408 GB, free: 103.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/8.409, allocations: 7.312 kB / 3.408 GB, free: 103.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004533/8.414, allocations: 2.571 MB / 3.41 GB, free: 103.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.986e-06/8.414, allocations: 2.312 kB / 3.41 GB, free: 103.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/8.415, allocations: 258.1 kB / 3.411 GB, free: 103.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.796e-05/8.415, allocations: 11.55 kB / 3.411 GB, free: 103.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.468e-05/8.415, allocations: 26.25 kB / 3.411 GB, free: 103.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.186e-05/8.415, allocations: 7.656 kB / 3.411 GB, free: 103.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/8.415, allocations: 12.91 kB / 3.411 GB, free: 103.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/8.418, allocations: 2.089 MB / 3.413 GB, free: 102.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006535/8.419, allocations: 325.2 kB / 3.413 GB, free: 102.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/8.419, allocations: 14.78 kB / 3.413 GB, free: 102.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/8.42, allocations: 129.8 kB / 3.413 GB, free: 102.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/8.421, allocations: 65.05 kB / 3.413 GB, free: 102.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-05/8.421, allocations: 43.59 kB / 3.413 GB, free: 102.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009736/8.422, allocations: 0.6398 MB / 3.414 GB, free: 102.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/8.422, allocations: 1.094 kB / 3.414 GB, free: 102.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002059/8.424, allocations: 456 kB / 3.414 GB, free: 102.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (86): * Single equations (assignments): 80 * 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.004347/8.428, allocations: 2.163 MB / 3.417 GB, free: 102 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002013/8.43, allocations: 0.9932 MB / 3.418 GB, free: 102 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/8.43, allocations: 3.406 kB / 3.418 GB, free: 102 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008924/8.431, allocations: 0.5223 MB / 3.418 GB, free: 102 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/8.433, allocations: 405.6 kB / 3.418 GB, free: 102 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/8.447, allocations: 2.688 MB / 3.421 GB, free: 101.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006498/8.448, allocations: 1.205 MB / 3.422 GB, free: 100.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001694/8.449, allocations: 349.6 kB / 3.423 GB, free: 100.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004008/8.45, allocations: 110.9 kB / 3.423 GB, free: 100.7 MB / 0.6198 GB Notification: Performance of SimCode: time 1.282e-06/8.45, allocations: 0 / 3.423 GB, free: 100.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.04037/8.49, allocations: 26.87 MB / 3.449 GB, free: 99.85 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)