Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, 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.001977/0.001977, allocations: 197.9 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.718/2.718, allocations: 461.8 MB / 0.7342 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002018, allocations: 74.36 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3121, allocations: 157.4 MB / 1.052 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03062/0.3428, allocations: 29.18 MB / 1.081 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0108/0.3536, allocations: 6.913 MB / 1.087 GB, free: 4.027 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.355, allocations: 47.62 kB / 1.087 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.3568, allocations: 0.5949 MB / 1.088 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003634/0.3605, allocations: 1.35 MB / 1.089 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00286/0.3633, allocations: 1.035 MB / 1.09 GB, free: 1 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003628/0.367, allocations: 3.214 MB / 1.094 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.3683, allocations: 0.7271 MB / 1.094 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.3704, allocations: 0.9373 MB / 1.095 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.3719, allocations: 0.8402 MB / 1.096 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002589/0.3722, allocations: 43.94 kB / 1.096 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.3742, allocations: 0.7638 MB / 1.097 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004108/0.3746, allocations: 266.9 kB / 1.097 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009544/0.3755, allocations: 0.5281 MB / 1.098 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002888/0.3784, allocations: 1.561 MB / 1.099 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3785, allocations: 3.984 kB / 1.099 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3785, allocations: 4 kB / 1.099 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.891e-05/0.3785, allocations: 0 / 1.099 GB, free: 8.07 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003732/0.3823, allocations: 1.562 MB / 1.101 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.3823, allocations: 11.97 kB / 1.101 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002025/0.3825, allocations: 122.7 kB / 1.101 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00385/0.3864, allocations: 0.5845 MB / 1.101 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.3881, allocations: 0.8017 MB / 1.102 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.439e-05/0.3882, allocations: 66.05 kB / 1.102 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.3884, allocations: 72 kB / 1.102 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002701/0.3911, allocations: 1.099 MB / 1.103 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.3911, allocations: 3.938 kB / 1.103 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-05/0.3912, allocations: 35.98 kB / 1.103 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.3912, allocations: 20 kB / 1.103 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003204/0.3944, allocations: 1 MB / 1.104 GB, free: 2.5 MB / 0.8575 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.006049/0.4005, allocations: 4.931 MB / 1.109 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/0.4034, allocations: 0.9029 MB / 1.11 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.4049, allocations: 490.1 kB / 1.11 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001434/0.4063, allocations: 1.592 MB / 1.112 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001714/0.4081, allocations: 0.5728 MB / 1.113 GB, free: 9.363 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=61): time 3.596e-06/0.4081, allocations: 0 / 1.113 GB, free: 9.363 MB / 0.8731 GB Notification: Performance of matching and sorting (n=61): time 0.004881/0.413, allocations: 1.489 MB / 1.114 GB, free: 7.867 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.413, allocations: 55.97 kB / 1.114 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.4146, allocations: 1.112 MB / 1.115 GB, free: 6.676 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.029e-05/0.4147, allocations: 41.7 kB / 1.115 GB, free: 6.629 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005063/0.4152, allocations: 0.5434 MB / 1.116 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/0.4155, allocations: 217 kB / 1.116 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/0.4158, allocations: 162.4 kB / 1.116 GB, free: 5.699 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4159, allocations: 338 kB / 1.116 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.4174, allocations: 449.6 kB / 1.117 GB, free: 4.922 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.419, allocations: 0.7164 MB / 1.118 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00294/0.4219, allocations: 1.124 MB / 1.119 GB, free: 2.859 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.422, allocations: 4 kB / 1.119 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003569/0.4255, allocations: 1.274 MB / 1.12 GB, free: 1.57 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.4256, allocations: 8 kB / 1.12 GB, free: 1.562 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.4256, allocations: 8 kB / 1.12 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.4256, allocations: 12.09 kB / 1.12 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.4268, allocations: 276 kB / 1.12 GB, free: 1.273 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-05/0.4269, allocations: 15.94 kB / 1.12 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.4282, allocations: 191 kB / 1.12 GB, free: 1.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.4283, allocations: 51.97 kB / 1.12 GB, free: 1.02 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0005837/0.4289, allocations: 291.7 kB / 1.121 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002964/0.4292, allocations: 122.4 kB / 1.121 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003958/0.4332, allocations: 1.363 MB / 1.122 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.352e-05/0.4332, allocations: 11.98 kB / 1.122 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.4332, allocations: 0 / 1.122 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.4333, allocations: 3.984 kB / 1.122 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005406/0.4387, allocations: 2.37 MB / 1.125 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.4387, allocations: 4 kB / 1.125 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.4398, allocations: 187.8 kB / 1.125 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/0.4398, allocations: 4 kB / 1.125 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.948e-05/0.4399, allocations: 31.97 kB / 1.125 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/0.4399, allocations: 4 kB / 1.125 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4399, allocations: 7.938 kB / 1.125 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005226/0.4451, allocations: 1.973 MB / 1.127 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005811/0.4457, allocations: 275.4 kB / 1.127 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/0.446, allocations: 12 kB / 1.127 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.4471, allocations: 123.8 kB / 1.127 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.4472, allocations: 52.44 kB / 1.127 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-05/0.4474, allocations: 35.97 kB / 1.127 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001148/0.4485, allocations: 0.7638 MB / 1.128 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4485, allocations: 0 / 1.128 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001218/0.4497, allocations: 347.6 kB / 1.128 GB, free: 8.91 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.007075/0.4568, allocations: 3.075 MB / 1.131 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003421/0.4603, allocations: 1.107 MB / 1.132 GB, free: 4.855 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.4603, allocations: 0 / 1.132 GB, free: 4.855 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001658/0.462, allocations: 0.5736 MB / 1.133 GB, free: 4.285 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/0.4642, allocations: 427.4 kB / 1.133 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02009/0.4843, allocations: 10.55 MB / 1.144 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007271/0.4851, allocations: 1.104 MB / 1.145 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001082/0.4862, allocations: 244.6 kB / 1.145 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006605/0.4869, allocations: 459.2 kB / 1.145 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of SimCode: time 5.51e-07/0.4869, allocations: 8 kB / 1.145 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05167/0.5386, allocations: 29.35 MB / 1.174 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/0.5388, allocations: 267.6 kB / 1.174 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.623/3.162, allocations: 64 / 1.174 GB, free: 9.684 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)