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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.395/1.395, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001983/0.001982, allocations: 183.2 kB / 327.6 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.4 MB / 0.5786 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009227/0.0009227, allocations: 90.36 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003511, allocations: 10.97 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2208, allocations: 106.3 MB / 0.9014 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6598/0.8807, allocations: 189.3 MB / 1.086 GB, free: 1.625 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009656/0.8904, allocations: 5.146 MB / 1.091 GB, free: 1.473 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002164/0.8926, allocations: 43.69 kB / 1.091 GB, free: 1.473 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002417/0.895, allocations: 0.7105 MB / 1.092 GB, free: 1.453 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007977/0.903, allocations: 2.424 MB / 1.094 GB, free: 1.332 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003461/0.9065, allocations: 1.017 MB / 1.095 GB, free: 1.301 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005691/0.9122, allocations: 3.592 MB / 1.099 GB, free: 1.293 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.914, allocations: 0.8261 MB / 1.1 GB, free: 1.184 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002648/0.9167, allocations: 1.026 MB / 1.101 GB, free: 1.18 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.9183, allocations: 1.007 MB / 1.102 GB, free: 1.176 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.9185, allocations: 52.36 kB / 1.102 GB, free: 1.176 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004353/0.9229, allocations: 2.064 MB / 1.104 GB, free: 1.156 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005674/0.9234, allocations: 415 kB / 1.104 GB, free: 1.152 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009957/0.9244, allocations: 0.6548 MB / 1.105 GB, free: 1.113 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002551/0.927, allocations: 1.539 MB / 1.106 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.927, allocations: 0 / 1.106 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.623e-06/0.927, allocations: 0 / 1.106 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.97e-05/0.9271, allocations: 0 / 1.106 GB, free: 0.9805 MB / 0.698 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.004826/0.9319, allocations: 1.717 MB / 1.108 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.9319, allocations: 8.594 kB / 1.108 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005408/0.9374, allocations: 0.9313 MB / 1.109 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/0.9391, allocations: 0.9215 MB / 1.11 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.187e-05/0.9392, allocations: 69.12 kB / 1.11 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.9394, allocations: 90.88 kB / 1.11 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003598/0.943, allocations: 1.589 MB / 1.112 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.943, allocations: 6.844 kB / 1.112 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.9431, allocations: 32.5 kB / 1.112 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-05/0.9432, allocations: 52.64 kB / 1.112 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005038/0.9482, allocations: 1.839 MB / 1.113 GB, free: 15.37 MB / 0.7136 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.008083/0.9564, allocations: 4.774 MB / 1.118 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00432/0.9607, allocations: 1.577 MB / 1.12 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002335/0.9631, allocations: 0.8577 MB / 1.12 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001369/0.9644, allocations: 0.953 MB / 1.121 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002526/0.967, allocations: 0.92 MB / 1.122 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=95): time 3.426e-06/0.967, allocations: 0 / 1.122 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.008578/0.9756, allocations: 2.446 MB / 1.125 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.9757, allocations: 62.12 kB / 1.125 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/0.9774, allocations: 1.206 MB / 1.126 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001571/0.9775, allocations: 49.86 kB / 1.126 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004248/0.978, allocations: 0.5435 MB / 1.126 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003186/0.9783, allocations: 327.5 kB / 1.127 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.271e-05/0.9784, allocations: 17.59 kB / 1.127 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.9785, allocations: 356.1 kB / 1.127 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002079/0.9806, allocations: 0.6892 MB / 1.128 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002225/0.9829, allocations: 0.9262 MB / 1.129 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004472/0.9873, allocations: 1.555 MB / 1.13 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-06/0.9874, allocations: 0 / 1.13 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005033/0.9924, allocations: 1.776 MB / 1.132 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.9925, allocations: 8.594 kB / 1.132 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.9925, allocations: 2.938 kB / 1.132 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.9925, allocations: 8.625 kB / 1.132 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.9943, allocations: 339.4 kB / 1.132 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.25e-05/0.9943, allocations: 12.59 kB / 1.132 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/0.9964, allocations: 265.7 kB / 1.133 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.9965, allocations: 43.83 kB / 1.133 GB, free: 9.473 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000711/0.9972, allocations: 341.6 kB / 1.133 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002471/0.9975, allocations: 133.3 kB / 1.133 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004989/1.002, allocations: 1.802 MB / 1.135 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/1.003, allocations: 12.55 kB / 1.135 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.003, allocations: 0 / 1.135 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/1.003, allocations: 3.984 kB / 1.135 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007499/1.01, allocations: 3.329 MB / 1.138 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/1.01, allocations: 7.031 kB / 1.138 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/1.012, allocations: 288.1 kB / 1.138 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.337e-05/1.012, allocations: 12.59 kB / 1.138 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.837e-05/1.012, allocations: 30.31 kB / 1.138 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/1.012, allocations: 16.25 kB / 1.138 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.012, allocations: 3.125 kB / 1.138 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007527/1.019, allocations: 2.84 MB / 1.141 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009396/1.02, allocations: 333.7 kB / 1.142 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/1.021, allocations: 22.81 kB / 1.142 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/1.022, allocations: 173.7 kB / 1.142 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/1.022, allocations: 69.97 kB / 1.142 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-05/1.022, allocations: 41.62 kB / 1.142 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001019/1.023, allocations: 0.8355 MB / 1.143 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.903e-06/1.023, allocations: 4 kB / 1.143 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001119/1.025, allocations: 347.8 kB / 1.143 GB, free: 5.93 MB / 0.7136 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.001395/1.026, allocations: 0.5328 MB / 1.144 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004899/1.031, allocations: 1.617 MB / 1.145 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.031, allocations: 1.531 kB / 1.145 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002533/1.033, allocations: 0.8372 MB / 1.146 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004255/1.038, allocations: 0.622 MB / 1.147 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007397/1.045, allocations: 3.59 MB / 1.15 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/1.046, allocations: 1.183 MB / 1.151 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008611/1.047, allocations: 139 kB / 1.151 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of SimCode: time 1.272e-06/1.047, allocations: 2.906 kB / 1.151 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of Templates: time 0.03714/1.084, allocations: 21.65 MB / 1.172 GB, free: 12.47 MB / 0.7448 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)