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.001311/0.001311, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001554/0.001554, allocations: 189.6 kB / 16.25 MB, free: 6.629 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.367/1.367, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.454/1.454, allocations: 251.7 MB / 0.5089 GB, free: 3.34 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.001319/0.001319, allocations: 71.89 kB / 0.6217 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5217/0.523, allocations: 104.7 MB / 0.724 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6772/1.2, allocations: 191.6 MB / 0.9111 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01114/1.211, allocations: 5.129 MB / 0.9161 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/1.213, allocations: 48.06 kB / 0.9162 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002242/1.215, allocations: 0.7305 MB / 0.9169 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007359/1.223, allocations: 2.422 MB / 0.9193 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003148/1.226, allocations: 1.024 MB / 0.9203 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004413/1.23, allocations: 2.67 MB / 0.9229 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/1.232, allocations: 0.9292 MB / 0.9238 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002564/1.235, allocations: 1.147 MB / 0.9249 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/1.236, allocations: 1.053 MB / 0.9259 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/1.236, allocations: 88.28 kB / 0.926 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0038/1.24, allocations: 1.858 MB / 0.9278 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004426/1.24, allocations: 465.7 kB / 0.9283 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007208/1.241, allocations: 0.6702 MB / 0.9289 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003171/1.244, allocations: 2.326 MB / 0.9312 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/1.244, allocations: 0 / 0.9312 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.305e-06/1.244, allocations: 1.281 kB / 0.9312 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.481e-05/1.244, allocations: 0.9062 kB / 0.9312 GB, free: 1.453 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.004744/1.249, allocations: 1.978 MB / 0.9331 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.249, allocations: 10.19 kB / 0.9331 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005274/1.254, allocations: 0.9034 MB / 0.934 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/1.256, allocations: 0.9135 MB / 0.9349 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.958e-05/1.256, allocations: 70.89 kB / 0.935 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/1.256, allocations: 89.41 kB / 0.9351 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003352/1.259, allocations: 1.587 MB / 0.9366 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/1.259, allocations: 6.312 kB / 0.9366 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/1.259, allocations: 32.88 kB / 0.9366 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.403e-05/1.26, allocations: 47.02 kB / 0.9367 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00446/1.264, allocations: 1.852 MB / 0.9385 GB, free: 15.9 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.006881/1.271, allocations: 4.753 MB / 0.9431 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004024/1.275, allocations: 1.561 MB / 0.9447 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002086/1.277, allocations: 0.8563 MB / 0.9455 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/1.278, allocations: 0.9456 MB / 0.9464 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002278/1.281, allocations: 0.9123 MB / 0.9473 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 3.828e-06/1.281, allocations: 0 / 0.9473 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.007145/1.288, allocations: 2.453 MB / 0.9497 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/1.288, allocations: 62.53 kB / 0.9498 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/1.289, allocations: 1.208 MB / 0.9509 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001173/1.29, allocations: 47.7 kB / 0.951 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004294/1.29, allocations: 0.5467 MB / 0.9515 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000306/1.29, allocations: 326.7 kB / 0.9518 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003488/1.291, allocations: 193.6 kB / 0.952 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001545/1.291, allocations: 340.2 kB / 0.9523 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/1.293, allocations: 0.6983 MB / 0.953 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002039/1.295, allocations: 0.9359 MB / 0.9539 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003899/1.299, allocations: 1.557 MB / 0.9555 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/1.299, allocations: 1.094 kB / 0.9555 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004657/1.303, allocations: 1.787 MB / 0.9572 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/1.303, allocations: 9.062 kB / 0.9572 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.303, allocations: 5.844 kB / 0.9572 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.26e-05/1.303, allocations: 7.719 kB / 0.9572 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/1.305, allocations: 338.8 kB / 0.9576 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.773e-05/1.305, allocations: 12.5 kB / 0.9576 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/1.307, allocations: 256.7 kB / 0.9578 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/1.307, allocations: 44.72 kB / 0.9579 GB, free: 11.2 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.0007321/1.308, allocations: 342.1 kB / 0.9582 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000347/1.308, allocations: 138.6 kB / 0.9583 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004967/1.313, allocations: 1.805 MB / 0.9601 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/1.313, allocations: 11.09 kB / 0.9601 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.313, allocations: 0 / 0.9601 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/1.313, allocations: 5.25 kB / 0.9601 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007258/1.321, allocations: 3.334 MB / 0.9633 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/1.321, allocations: 3.906 kB / 0.9634 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/1.322, allocations: 297.4 kB / 0.9636 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.619e-05/1.322, allocations: 5.875 kB / 0.9636 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/1.322, allocations: 30.91 kB / 0.9637 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.209e-05/1.322, allocations: 12.09 kB / 0.9637 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.322, allocations: 8.875 kB / 0.9637 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006933/1.329, allocations: 2.843 MB / 0.9665 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006782/1.33, allocations: 320 kB / 0.9668 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003564/1.33, allocations: 24.22 kB / 0.9668 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001624/1.332, allocations: 176.5 kB / 0.967 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/1.332, allocations: 69.14 kB / 0.967 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/1.332, allocations: 44.69 kB / 0.9671 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001464/1.334, allocations: 0.8378 MB / 0.9679 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/1.334, allocations: 0 / 0.9679 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001578/1.335, allocations: 347.8 kB / 0.9682 GB, free: 9.566 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.001511/1.337, allocations: 0.5253 MB / 0.9687 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005399/1.342, allocations: 1.779 MB / 0.9705 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.342, allocations: 0 / 0.9705 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002342/1.345, allocations: 0.8439 MB / 0.9713 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/1.348, allocations: 0.6443 MB / 0.9719 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007273/1.356, allocations: 3.413 MB / 0.9753 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/1.357, allocations: 1.188 MB / 0.9764 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002027/1.359, allocations: 362.8 kB / 0.9768 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005562/1.359, allocations: 116.1 kB / 0.9769 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of SimCode: time 9.71e-07/1.359, allocations: 0 / 0.9769 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of Templates: time 0.04173/1.401, allocations: 24.05 MB / 1 GB, free: 0.5469 MB / 0.7481 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)