Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.941/4.941, allocations: 0.5623 GB / 0.577 GB, free: 3.312 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002347/0.002346, allocations: 356.6 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.077/4.077, allocations: 410.7 MB / 1.112 GB, free: 6 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001781/0.001781, allocations: 185.7 kB / 1.225 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000741/0.0007413, allocations: 12 kB / 1.348 GB, free: 8.176 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5954/0.5962, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1682/0.7644, allocations: 174 MB / 1.631 GB, free: 110.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.008728/0.7732, allocations: 5.047 MB / 1.636 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.7745, allocations: 43.62 kB / 1.636 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001735/0.7762, allocations: 0.7191 MB / 1.636 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.005472/0.7817, allocations: 1.866 MB / 1.638 GB, free: 102.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.003947/0.7857, allocations: 1.183 MB / 1.639 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003577/0.7893, allocations: 3.049 MB / 1.642 GB, free: 98.29 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/0.7906, allocations: 0.7582 MB / 1.643 GB, free: 97.54 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/0.7925, allocations: 1.004 MB / 1.644 GB, free: 96.54 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.7936, allocations: 0.9574 MB / 1.645 GB, free: 95.57 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.7938, allocations: 48 kB / 1.645 GB, free: 95.53 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.7962, allocations: 0.8492 MB / 1.646 GB, free: 94.68 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004328/0.7966, allocations: 402.7 kB / 1.646 GB, free: 94.28 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003985/0.797, allocations: 272.9 kB / 1.647 GB, free: 94.01 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001801/0.7988, allocations: 1.368 MB / 1.648 GB, free: 92.64 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.764e-06/0.7989, allocations: 0 / 1.648 GB, free: 92.64 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.401e-06/0.7989, allocations: 4 kB / 1.648 GB, free: 92.63 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.622e-05/0.7989, allocations: 0 / 1.648 GB, free: 92.63 MB / 0.8542 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.005477/0.8044, allocations: 1.712 MB / 1.65 GB, free: 90.87 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.8045, allocations: 12.16 kB / 1.65 GB, free: 90.86 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006197/0.8107, allocations: 0.9307 MB / 1.65 GB, free: 89.93 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.8125, allocations: 0.8719 MB / 1.651 GB, free: 89 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.88e-05/0.8126, allocations: 70 kB / 1.651 GB, free: 88.93 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/0.8129, allocations: 95.91 kB / 1.651 GB, free: 88.84 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004263/0.8171, allocations: 1.571 MB / 1.653 GB, free: 87.23 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/0.8172, allocations: 3.953 kB / 1.653 GB, free: 87.23 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.8174, allocations: 36 kB / 1.653 GB, free: 87.19 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-05/0.8174, allocations: 53.98 kB / 1.653 GB, free: 87.14 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006198/0.8236, allocations: 1.842 MB / 1.655 GB, free: 85.3 MB / 0.8542 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.008476/0.8322, allocations: 4.751 MB / 1.66 GB, free: 80.32 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005117/0.8373, allocations: 1.591 MB / 1.661 GB, free: 78.72 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002748/0.8401, allocations: 0.8437 MB / 1.662 GB, free: 77.88 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001223/0.8414, allocations: 0.953 MB / 1.663 GB, free: 76.74 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002862/0.8442, allocations: 0.9144 MB / 1.664 GB, free: 75.82 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=95): time 5.955e-06/0.8443, allocations: 4 kB / 1.664 GB, free: 75.81 MB / 0.8542 GB Notification: Performance of matching and sorting (n=95): time 0.008931/0.8532, allocations: 2.443 MB / 1.666 GB, free: 73.37 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.8533, allocations: 64.41 kB / 1.666 GB, free: 73.29 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.8549, allocations: 1.198 MB / 1.667 GB, free: 72.09 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001706/0.8551, allocations: 45.7 kB / 1.667 GB, free: 72.04 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004269/0.8555, allocations: 0.5487 MB / 1.668 GB, free: 71.48 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/0.8559, allocations: 323.3 kB / 1.668 GB, free: 71.16 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.432e-05/0.856, allocations: 20 kB / 1.668 GB, free: 71.14 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.8561, allocations: 345.9 kB / 1.669 GB, free: 70.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00248/0.8585, allocations: 0.6967 MB / 1.669 GB, free: 70.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002673/0.8612, allocations: 0.9178 MB / 1.67 GB, free: 69.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002593/0.8639, allocations: 0.7328 MB / 1.671 GB, free: 68.37 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.668e-06/0.8639, allocations: 3.953 kB / 1.671 GB, free: 68.37 MB / 0.8542 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005782/0.8697, allocations: 1.772 MB / 1.673 GB, free: 66.59 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.8698, allocations: 8 kB / 1.673 GB, free: 66.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.8698, allocations: 4 kB / 1.673 GB, free: 66.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.8698, allocations: 8 kB / 1.673 GB, free: 66.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/0.872, allocations: 339.8 kB / 1.673 GB, free: 66.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.829e-05/0.872, allocations: 11.94 kB / 1.673 GB, free: 66.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/0.874, allocations: 258.8 kB / 1.673 GB, free: 65.97 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/0.8742, allocations: 43.98 kB / 1.673 GB, free: 65.93 MB / 0.8542 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006677/0.8748, allocations: 337.9 kB / 1.674 GB, free: 65.59 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.8751, allocations: 138.3 kB / 1.674 GB, free: 65.45 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005825/0.8809, allocations: 1.8 MB / 1.675 GB, free: 63.65 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.881, allocations: 11.98 kB / 1.675 GB, free: 63.64 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.344e-06/0.881, allocations: 0 / 1.675 GB, free: 63.64 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.881, allocations: 3.984 kB / 1.675 GB, free: 63.63 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008457/0.8895, allocations: 3.336 MB / 1.679 GB, free: 60.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.8895, allocations: 4 kB / 1.679 GB, free: 60.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/0.8915, allocations: 287.8 kB / 1.679 GB, free: 59.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.525e-05/0.8915, allocations: 8 kB / 1.679 GB, free: 59.89 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/0.8917, allocations: 35.91 kB / 1.679 GB, free: 59.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/0.8917, allocations: 8 kB / 1.679 GB, free: 59.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.596e-06/0.8917, allocations: 4 kB / 1.679 GB, free: 59.85 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008458/0.9002, allocations: 2.835 MB / 1.682 GB, free: 56.95 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007304/0.901, allocations: 331.1 kB / 1.682 GB, free: 56.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/0.9012, allocations: 24 kB / 1.682 GB, free: 56.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/0.9029, allocations: 175.8 kB / 1.682 GB, free: 56.41 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.9031, allocations: 72.58 kB / 1.682 GB, free: 56.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/0.9032, allocations: 51.97 kB / 1.682 GB, free: 56.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00112/0.9044, allocations: 0.8279 MB / 1.683 GB, free: 55.46 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.76e-07/0.9044, allocations: 0 / 1.683 GB, free: 55.46 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001239/0.9056, allocations: 343.5 kB / 1.684 GB, free: 55.12 MB / 0.8542 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 (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.001772/0.9074, allocations: 0.53 MB / 1.684 GB, free: 54.79 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005485/0.9129, allocations: 1.615 MB / 1.686 GB, free: 53.17 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.43e-06/0.913, allocations: 4 kB / 1.686 GB, free: 53.17 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00278/0.9158, allocations: 0.8283 MB / 1.686 GB, free: 52.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003429/0.9192, allocations: 0.5982 MB / 1.687 GB, free: 51.75 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007239/0.9265, allocations: 3.402 MB / 1.69 GB, free: 48.27 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007458/0.9273, allocations: 1.218 MB / 1.692 GB, free: 47.02 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002305/0.9296, allocations: 370.1 kB / 1.692 GB, free: 46.66 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005841/0.9302, allocations: 115.4 kB / 1.692 GB, free: 46.54 MB / 0.8542 GB Notification: Performance of SimCode: time 2.199e-06/0.9302, allocations: 0 / 1.692 GB, free: 46.54 MB / 0.8542 GB Notification: Performance of Templates: time 0.046/0.9762, allocations: 22.39 MB / 1.714 GB, free: 24.6 MB / 0.8542 GB