Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 197.9 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.898/2.898, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 64.41 kB / 0.9113 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3786, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 1.118/1.497, allocations: 191.5 MB / 1.255 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01103/1.508, allocations: 5.194 MB / 1.26 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/1.51, allocations: 43.97 kB / 1.26 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002493/1.512, allocations: 0.7087 MB / 1.26 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008459/1.521, allocations: 2.449 MB / 1.263 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003756/1.524, allocations: 1.008 MB / 1.264 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005789/1.53, allocations: 3.533 MB / 1.267 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/1.532, allocations: 0.8138 MB / 1.268 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002862/1.535, allocations: 1.006 MB / 1.269 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001948/1.537, allocations: 0.9965 MB / 1.27 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001842/1.537, allocations: 51.97 kB / 1.27 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005433/1.543, allocations: 2.071 MB / 1.272 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008821/1.544, allocations: 418.2 kB / 1.272 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00133/1.545, allocations: 0.6181 MB / 1.273 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006245/1.551, allocations: 2.227 MB / 1.275 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/1.551, allocations: 7.75 kB / 1.275 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.794e-06/1.551, allocations: 2.906 kB / 1.275 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.498e-05/1.551, allocations: 0 / 1.275 GB, free: 5.039 MB / 0.9981 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.007145/1.558, allocations: 1.922 MB / 1.277 GB, free: 20.11 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.228e-05/1.558, allocations: 14.2 kB / 1.277 GB, free: 20.1 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005529/1.564, allocations: 0.7004 MB / 1.278 GB, free: 20 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002502/1.567, allocations: 0.8917 MB / 1.279 GB, free: 19.62 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/1.567, allocations: 70.34 kB / 1.279 GB, free: 19.61 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002831/1.567, allocations: 83.69 kB / 1.279 GB, free: 19.61 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004385/1.571, allocations: 1.471 MB / 1.28 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-05/1.571, allocations: 2.531 kB / 1.28 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/1.572, allocations: 32.91 kB / 1.28 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.809e-05/1.572, allocations: 51.25 kB / 1.28 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004852/1.576, allocations: 1.561 MB / 1.282 GB, free: 19.38 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009987/1.586, allocations: 5.015 MB / 1.287 GB, free: 16.86 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003817/1.59, allocations: 1.19 MB / 1.288 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001892/1.592, allocations: 0.6607 MB / 1.289 GB, free: 16.78 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001512/1.594, allocations: 0.9416 MB / 1.289 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002324/1.596, allocations: 0.7218 MB / 1.29 GB, free: 15.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 4.789e-06/1.596, allocations: 3 kB / 1.29 GB, free: 15.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.007084/1.603, allocations: 1.954 MB / 1.292 GB, free: 15.61 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/1.603, allocations: 60.78 kB / 1.292 GB, free: 15.55 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003573/1.607, allocations: 1.275 MB / 1.293 GB, free: 15.38 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001833/1.607, allocations: 44.73 kB / 1.293 GB, free: 15.35 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007063/1.608, allocations: 0.5784 MB / 1.294 GB, free: 15.16 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003436/1.608, allocations: 275.1 kB / 1.294 GB, free: 15 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004559/1.609, allocations: 185.1 kB / 1.294 GB, free: 14.97 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001811/1.609, allocations: 344.6 kB / 1.295 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/1.611, allocations: 0.5473 MB / 1.295 GB, free: 14.66 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002141/1.613, allocations: 0.822 MB / 1.296 GB, free: 14.36 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003707/1.617, allocations: 1.34 MB / 1.297 GB, free: 14.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/1.617, allocations: 3 kB / 1.297 GB, free: 14.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004694/1.621, allocations: 1.518 MB / 1.299 GB, free: 13.93 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/1.621, allocations: 7.656 kB / 1.299 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/1.621, allocations: 12.89 kB / 1.299 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.832e-05/1.621, allocations: 12.89 kB / 1.299 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/1.623, allocations: 291.5 kB / 1.299 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.714e-05/1.623, allocations: 19.03 kB / 1.299 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/1.625, allocations: 219 kB / 1.299 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/1.625, allocations: 50.64 kB / 1.299 GB, free: 13.85 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008937/1.626, allocations: 340.6 kB / 1.3 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004995/1.627, allocations: 136.6 kB / 1.3 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0044/1.631, allocations: 1.436 MB / 1.301 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/1.631, allocations: 8.594 kB / 1.301 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/1.631, allocations: 3.938 kB / 1.301 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/1.631, allocations: 10.16 kB / 1.301 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007195/1.638, allocations: 2.859 MB / 1.304 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/1.638, allocations: 3.062 kB / 1.304 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/1.64, allocations: 228 kB / 1.304 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.006e-05/1.64, allocations: 7.375 kB / 1.304 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/1.64, allocations: 32.08 kB / 1.304 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-05/1.64, allocations: 7.344 kB / 1.304 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.527e-06/1.64, allocations: 11.94 kB / 1.304 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005954/1.646, allocations: 2.309 MB / 1.307 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008748/1.647, allocations: 303.4 kB / 1.307 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004583/1.647, allocations: 24.08 kB / 1.307 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/1.649, allocations: 127.5 kB / 1.307 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/1.649, allocations: 69.59 kB / 1.307 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.423e-05/1.649, allocations: 33.3 kB / 1.307 GB, free: 12.45 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001632/1.651, allocations: 0.8779 MB / 1.308 GB, free: 12.34 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.651, allocations: 0 / 1.308 GB, free: 12.34 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00164/1.652, allocations: 310.8 kB / 1.308 GB, free: 12.32 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001499/1.654, allocations: 0.5446 MB / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00382/1.658, allocations: 1.299 MB / 1.31 GB, free: 12.08 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.658, allocations: 7.031 kB / 1.31 GB, free: 12.08 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001771/1.659, allocations: 0.6634 MB / 1.311 GB, free: 12.06 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003497/1.663, allocations: 0.594 MB / 1.311 GB, free: 12 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007415/1.67, allocations: 2.984 MB / 1.314 GB, free: 10.55 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/1.672, allocations: 1.173 MB / 1.315 GB, free: 9.836 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002123/1.674, allocations: 354 kB / 1.316 GB, free: 9.746 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005444/1.674, allocations: 107 kB / 1.316 GB, free: 9.738 MB / 1.014 GB Notification: Performance of SimCode: time 1.092e-06/1.674, allocations: 0 / 1.316 GB, free: 9.738 MB / 1.014 GB Notification: Performance of Templates: time 0.04424/1.719, allocations: 22.12 MB / 1.338 GB, free: 1.926 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)