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.0009668/0.0009668, 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.484/0.484, allocations: 90.92 MB / 99.35 MB, free: 2.199 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.402/1.402, allocations: 221.5 MB / 343.2 MB, free: 1.566 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.0008275/0.0008275, allocations: 90.89 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.52e-05/1.517e-05, allocations: 6.109 kB / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1353, allocations: 72.32 MB / 0.5535 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.751/4.887, allocations: 1.827 GB / 2.38 GB, free: 164.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/4.887, allocations: 91.03 kB / 2.38 GB, free: 164.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.468/7.355, allocations: 0.678 GB / 3.058 GB, free: 88.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.242e-06/7.355, allocations: 2.531 kB / 3.058 GB, free: 88.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001137/7.355, allocations: 40.22 kB / 3.058 GB, free: 88.21 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.006582/7.362, allocations: 1.859 MB / 3.06 GB, free: 87.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/7.362, allocations: 8.375 kB / 3.06 GB, free: 87.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00505/7.367, allocations: 0.8742 MB / 3.061 GB, free: 87.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003468/7.371, allocations: 1.142 MB / 3.062 GB, free: 87.37 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.527e-05/7.371, allocations: 26.72 kB / 3.062 GB, free: 87.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/7.371, allocations: 55.59 kB / 3.062 GB, free: 87.37 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001678/7.373, allocations: 1 MB / 3.063 GB, free: 87.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/7.374, allocations: 1.166 MB / 3.064 GB, free: 87.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/7.374, allocations: 8.922 kB / 3.064 GB, free: 87.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/7.375, allocations: 3.688 kB / 3.064 GB, free: 87.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.191e-05/7.375, allocations: 44.53 kB / 3.064 GB, free: 87.24 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.008121/7.383, allocations: 4.817 MB / 3.069 GB, free: 85.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/7.384, allocations: 1.068 MB / 3.07 GB, free: 85.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007615/7.385, allocations: 0.5686 MB / 3.07 GB, free: 85.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/7.386, allocations: 0.9473 MB / 3.071 GB, free: 84.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000856/7.387, allocations: 0.6755 MB / 3.072 GB, free: 84.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=95): time 3.296e-06/7.387, allocations: 3 kB / 3.072 GB, free: 84.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=95): time 0.002764/7.39, allocations: 1.292 MB / 3.073 GB, free: 84.33 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/7.39, allocations: 61.75 kB / 3.073 GB, free: 84.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/7.391, allocations: 0.8159 MB / 3.074 GB, free: 84.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/7.391, allocations: 35.05 kB / 3.074 GB, free: 84.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/7.391, allocations: 0.5457 MB / 3.075 GB, free: 83.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/7.392, allocations: 319.6 kB / 3.075 GB, free: 83.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.598e-05/7.392, allocations: 0 / 3.075 GB, free: 83.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.113e-05/7.392, allocations: 342.5 kB / 3.075 GB, free: 83.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007204/7.393, allocations: 478.9 kB / 3.076 GB, free: 83.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008726/7.393, allocations: 0.6961 MB / 3.077 GB, free: 83.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008916/7.394, allocations: 0.4959 MB / 3.077 GB, free: 83.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/7.394, allocations: 2.75 kB / 3.077 GB, free: 83.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00237/7.397, allocations: 1.273 MB / 3.078 GB, free: 83.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/7.397, allocations: 10.69 kB / 3.078 GB, free: 83.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/7.397, allocations: 4.094 kB / 3.078 GB, free: 83.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.217e-05/7.397, allocations: 11.34 kB / 3.078 GB, free: 83.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/7.399, allocations: 351.7 kB / 3.079 GB, free: 83.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/7.399, allocations: 14.8 kB / 3.079 GB, free: 83.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/7.401, allocations: 214.9 kB / 3.079 GB, free: 83.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/7.401, allocations: 60.94 kB / 3.079 GB, free: 83.07 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.000274/7.401, allocations: 135 kB / 3.079 GB, free: 82.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/7.401, allocations: 122.3 kB / 3.079 GB, free: 82.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/7.404, allocations: 1.362 MB / 3.08 GB, free: 82.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/7.404, allocations: 11 kB / 3.08 GB, free: 82.81 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/7.404, allocations: 0 / 3.08 GB, free: 82.81 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/7.404, allocations: 7.828 kB / 3.08 GB, free: 82.81 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004066/7.408, allocations: 2.88 MB / 3.083 GB, free: 82.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/7.408, allocations: 10.92 kB / 3.083 GB, free: 82.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/7.409, allocations: 307.6 kB / 3.084 GB, free: 82.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-05/7.409, allocations: 14.38 kB / 3.084 GB, free: 82.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-05/7.409, allocations: 31.17 kB / 3.084 GB, free: 82.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/7.409, allocations: 11.81 kB / 3.084 GB, free: 82.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/7.409, allocations: 6 kB / 3.084 GB, free: 82.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/7.412, allocations: 2.393 MB / 3.086 GB, free: 81.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005729/7.413, allocations: 348.6 kB / 3.086 GB, free: 81.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/7.413, allocations: 14.3 kB / 3.086 GB, free: 81.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/7.414, allocations: 171.8 kB / 3.087 GB, free: 81.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/7.415, allocations: 72.94 kB / 3.087 GB, free: 81.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.678e-05/7.415, allocations: 45.45 kB / 3.087 GB, free: 81.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006617/7.415, allocations: 0.6236 MB / 3.087 GB, free: 81.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/7.415, allocations: 1.688 kB / 3.087 GB, free: 81.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00147/7.417, allocations: 472.5 kB / 3.088 GB, free: 81.43 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.002717/7.419, allocations: 2.159 MB / 3.09 GB, free: 80.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001605/7.421, allocations: 1.15 MB / 3.091 GB, free: 80.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/7.421, allocations: 2.188 kB / 3.091 GB, free: 80.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007332/7.422, allocations: 0.6093 MB / 3.092 GB, free: 80.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/7.424, allocations: 440.5 kB / 3.092 GB, free: 80.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/7.437, allocations: 3.019 MB / 3.095 GB, free: 80.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/7.438, allocations: 1.218 MB / 3.096 GB, free: 79.56 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001832/7.44, allocations: 366.5 kB / 3.096 GB, free: 79.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004625/7.44, allocations: 122.4 kB / 3.097 GB, free: 79.54 MB / 0.6042 GB Notification: Performance of SimCode: time 8.81e-07/7.44, allocations: 3.469 kB / 3.097 GB, free: 79.54 MB / 0.6042 GB Notification: Performance of Templates: time 0.03974/7.48, allocations: 28.25 MB / 3.124 GB, free: 78.45 MB / 0.6042 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)