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.001032/0.001032, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001354/0.001354, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.542/1.542, allocations: 252 MB / 0.5102 GB, free: 4.816 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.0006061/0.0006064, allocations: 19.44 kB / 0.6243 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5212/0.5218, allocations: 106.3 MB / 0.7281 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1775/0.6993, allocations: 176.6 MB / 0.9006 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008506/0.7079, allocations: 4.905 MB / 0.9054 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.7091, allocations: 51.56 kB / 0.9055 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.7108, allocations: 0.618 MB / 0.9061 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005177/0.716, allocations: 1.862 MB / 0.9079 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.7186, allocations: 0.9122 MB / 0.9088 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.4148/1.133, allocations: 3.046 MB / 0.9118 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001548/1.135, allocations: 0.7598 MB / 0.9125 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002245/1.137, allocations: 1.009 MB / 0.9135 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/1.139, allocations: 0.9532 MB / 0.9144 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001838/1.139, allocations: 48.25 kB / 0.9145 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002723/1.142, allocations: 0.9343 MB / 0.9154 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005166/1.143, allocations: 408.6 kB / 0.9158 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003823/1.143, allocations: 268.4 kB / 0.916 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002183/1.145, allocations: 1.395 MB / 0.9174 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.145, allocations: 0 / 0.9174 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.064e-06/1.145, allocations: 0 / 0.9174 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.831e-05/1.145, allocations: 3.672 kB / 0.9174 GB, free: 6.992 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.004905/1.15, allocations: 1.739 MB / 0.9191 GB, free: 22.08 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/1.15, allocations: 8.438 kB / 0.9191 GB, free: 22.08 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005823/1.156, allocations: 0.9312 MB / 0.92 GB, free: 21.97 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002109/1.158, allocations: 0.8706 MB / 0.9208 GB, free: 21.62 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/1.158, allocations: 75.47 kB / 0.9209 GB, free: 21.62 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002455/1.158, allocations: 93.34 kB / 0.921 GB, free: 21.62 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00368/1.162, allocations: 1.571 MB / 0.9225 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/1.162, allocations: 1.375 kB / 0.9225 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/1.162, allocations: 31.56 kB / 0.9226 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-05/1.162, allocations: 55.08 kB / 0.9226 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004691/1.167, allocations: 1.846 MB / 0.9244 GB, free: 21.43 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.006739/1.174, allocations: 4.756 MB / 0.9291 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003625/1.177, allocations: 1.589 MB / 0.9306 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001862/1.179, allocations: 0.8498 MB / 0.9315 GB, free: 19.44 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/1.181, allocations: 0.9573 MB / 0.9324 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00201/1.183, allocations: 0.9056 MB / 0.9333 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 2.995e-06/1.183, allocations: 0 / 0.9333 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.006528/1.189, allocations: 2.445 MB / 0.9357 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/1.189, allocations: 61.06 kB / 0.9357 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/1.191, allocations: 1.197 MB / 0.9369 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/1.191, allocations: 46.52 kB / 0.9369 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000354/1.191, allocations: 0.549 MB / 0.9375 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002546/1.191, allocations: 325.1 kB / 0.9378 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.206e-05/1.191, allocations: 20.44 kB / 0.9378 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.191, allocations: 344.3 kB / 0.9381 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/1.193, allocations: 0.6993 MB / 0.9388 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/1.195, allocations: 0.9148 MB / 0.9397 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/1.197, allocations: 0.7282 MB / 0.9404 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.197, allocations: 0 / 0.9404 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004182/1.201, allocations: 1.778 MB / 0.9421 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/1.201, allocations: 5.281 kB / 0.9422 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/1.201, allocations: 12.66 kB / 0.9422 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/1.201, allocations: 11.91 kB / 0.9422 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/1.203, allocations: 345.5 kB / 0.9425 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/1.203, allocations: 9.125 kB / 0.9425 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/1.205, allocations: 257.1 kB / 0.9428 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/1.205, allocations: 48.22 kB / 0.9428 GB, free: 16.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 ($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.0006988/1.205, allocations: 339.7 kB / 0.9431 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/1.206, allocations: 140.5 kB / 0.9433 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004297/1.21, allocations: 1.794 MB / 0.945 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/1.21, allocations: 8.625 kB / 0.945 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.21, allocations: 2.938 kB / 0.945 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/1.21, allocations: 3.141 kB / 0.945 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006121/1.216, allocations: 3.324 MB / 0.9483 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/1.216, allocations: 9.188 kB / 0.9483 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/1.218, allocations: 284.3 kB / 0.9486 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/1.218, allocations: 10.06 kB / 0.9486 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.173e-05/1.218, allocations: 42.38 kB / 0.9486 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/1.218, allocations: 5.125 kB / 0.9486 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.218, allocations: 8.969 kB / 0.9486 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006097/1.224, allocations: 2.828 MB / 0.9514 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007593/1.225, allocations: 329.1 kB / 0.9517 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/1.225, allocations: 27.42 kB / 0.9517 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/1.226, allocations: 170.8 kB / 0.9519 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/1.226, allocations: 73.8 kB / 0.952 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.223e-05/1.226, allocations: 38.94 kB / 0.952 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001253/1.228, allocations: 0.8281 MB / 0.9528 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.425e-06/1.228, allocations: 4 kB / 0.9528 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001561/1.229, allocations: 348.1 kB / 0.9531 GB, free: 15.23 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 (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.001624/1.231, allocations: 0.5294 MB / 0.9537 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004455/1.235, allocations: 1.617 MB / 0.9552 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/1.235, allocations: 0 / 0.9552 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002086/1.237, allocations: 0.8335 MB / 0.956 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/1.241, allocations: 0.6013 MB / 0.9566 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005739/1.246, allocations: 3.392 MB / 0.9599 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007196/1.247, allocations: 1.189 MB / 0.9611 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001833/1.249, allocations: 376.2 kB / 0.9615 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004279/1.249, allocations: 118.5 kB / 0.9616 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of SimCode: time 1.172e-06/1.249, allocations: 0 / 0.9616 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of Templates: time 0.03977/1.289, allocations: 22.39 MB / 0.9834 GB, free: 1.5 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: