Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00108/0.001081, allocations: 194.5 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.1 MB / 222 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.533/1.533, allocations: 251.7 MB / 0.5088 GB, free: 3.309 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 59.92 kB / 0.6216 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5678/0.5695, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.7587/1.328, allocations: 191.9 MB / 0.9112 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01006/1.338, allocations: 5.198 MB / 0.9163 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002461/1.341, allocations: 43.94 kB / 0.9163 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002817/1.344, allocations: 0.7085 MB / 0.917 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008057/1.352, allocations: 2.425 MB / 0.9194 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003857/1.356, allocations: 1.015 MB / 0.9203 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006527/1.362, allocations: 3.588 MB / 0.9238 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/1.364, allocations: 0.847 MB / 0.9247 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002938/1.367, allocations: 1.031 MB / 0.9257 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/1.369, allocations: 1.029 MB / 0.9267 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001698/1.369, allocations: 58.56 kB / 0.9267 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004232/1.374, allocations: 2.075 MB / 0.9288 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004958/1.374, allocations: 430.4 kB / 0.9292 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008571/1.375, allocations: 0.6401 MB / 0.9298 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003883/1.379, allocations: 2.278 MB / 0.932 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/1.379, allocations: 0 / 0.932 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/1.379, allocations: 0 / 0.932 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.035e-05/1.379, allocations: 0 / 0.932 GB, free: 1.324 MB / 0.7169 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.005173/1.384, allocations: 1.978 MB / 0.934 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/1.384, allocations: 8.125 kB / 0.934 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005481/1.39, allocations: 0.907 MB / 0.9349 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/1.391, allocations: 0.9189 MB / 0.9358 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.446e-05/1.391, allocations: 66.62 kB / 0.9358 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/1.391, allocations: 95.86 kB / 0.9359 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003575/1.395, allocations: 1.584 MB / 0.9375 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/1.395, allocations: 9.156 kB / 0.9375 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/1.395, allocations: 31.16 kB / 0.9375 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-05/1.395, allocations: 48.08 kB / 0.9375 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004793/1.4, allocations: 1.852 MB / 0.9393 GB, free: 15.67 MB / 0.7325 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.007616/1.408, allocations: 4.746 MB / 0.944 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004016/1.412, allocations: 1.558 MB / 0.9455 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002074/1.414, allocations: 0.8501 MB / 0.9463 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/1.415, allocations: 0.9529 MB / 0.9473 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002244/1.417, allocations: 0.9114 MB / 0.9482 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 3.226e-06/1.417, allocations: 0 / 0.9482 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.007191/1.424, allocations: 2.451 MB / 0.9505 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/1.425, allocations: 61.16 kB / 0.9506 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/1.426, allocations: 1.207 MB / 0.9518 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001225/1.426, allocations: 50.59 kB / 0.9518 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/1.427, allocations: 0.5442 MB / 0.9524 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/1.427, allocations: 330.5 kB / 0.9527 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003562/1.427, allocations: 194.6 kB / 0.9529 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.427, allocations: 339.4 kB / 0.9532 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002148/1.43, allocations: 0.7 MB / 0.9539 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002224/1.432, allocations: 0.9292 MB / 0.9548 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003991/1.436, allocations: 1.561 MB / 0.9563 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/1.436, allocations: 0 / 0.9563 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004782/1.441, allocations: 1.783 MB / 0.958 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.441, allocations: 6.141 kB / 0.9581 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/1.441, allocations: 4.688 kB / 0.9581 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/1.441, allocations: 10.66 kB / 0.9581 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/1.442, allocations: 343.3 kB / 0.9584 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/1.442, allocations: 13.59 kB / 0.9584 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/1.444, allocations: 250.2 kB / 0.9586 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/1.444, allocations: 53.14 kB / 0.9587 GB, free: 10.84 MB / 0.7325 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 ($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 (121): * Single equations (assignments): 121 * 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.0005847/1.445, allocations: 339.3 kB / 0.959 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/1.445, allocations: 140.7 kB / 0.9592 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004852/1.45, allocations: 1.803 MB / 0.9609 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/1.45, allocations: 8.5 kB / 0.9609 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/1.45, allocations: 0 / 0.9609 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/1.45, allocations: 6.438 kB / 0.9609 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007526/1.458, allocations: 3.334 MB / 0.9642 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/1.458, allocations: 2.156 kB / 0.9642 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/1.459, allocations: 301.8 kB / 0.9645 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/1.459, allocations: 10.62 kB / 0.9645 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.81e-05/1.459, allocations: 31.66 kB / 0.9645 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.878e-06/1.459, allocations: 8.594 kB / 0.9645 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.459, allocations: 7.312 kB / 0.9645 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007809/1.467, allocations: 2.845 MB / 0.9673 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/1.468, allocations: 323.1 kB / 0.9676 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/1.469, allocations: 19.97 kB / 0.9676 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/1.47, allocations: 182.2 kB / 0.9678 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/1.47, allocations: 72.28 kB / 0.9679 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/1.47, allocations: 42.41 kB / 0.9679 GB, free: 8.809 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00116/1.472, allocations: 0.8382 MB / 0.9687 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/1.472, allocations: 0 / 0.9687 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00125/1.473, allocations: 342.6 kB / 0.9691 GB, free: 8.543 MB / 0.7325 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * 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.001377/1.474, allocations: 0.535 MB / 0.9696 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005058/1.479, allocations: 1.612 MB / 0.9712 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.479, allocations: 0.7812 kB / 0.9712 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002375/1.482, allocations: 0.8469 MB / 0.972 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/1.485, allocations: 0.6005 MB / 0.9726 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006954/1.492, allocations: 3.416 MB / 0.9759 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008433/1.493, allocations: 1.192 MB / 0.9771 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001786/1.494, allocations: 363.3 kB / 0.9774 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004556/1.495, allocations: 115.2 kB / 0.9775 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.001e-06/1.495, allocations: 0 / 0.9775 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.04013/1.535, allocations: 23.21 MB / 1 GB, free: 15.37 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)