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.000808/0.0008079, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005319/0.005319, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.83/2.83, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003534, allocations: 8.5 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3411, allocations: 159.6 MB / 1.059 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03291/0.3741, allocations: 28.46 MB / 1.087 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01227/0.3864, allocations: 6.82 MB / 1.093 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001932/0.3884, allocations: 47.62 kB / 1.093 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002077/0.3905, allocations: 0.5988 MB / 1.094 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004914/0.3954, allocations: 1.346 MB / 1.095 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003133/0.3986, allocations: 1.032 MB / 1.096 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004832/0.4034, allocations: 3.214 MB / 1.099 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.405, allocations: 0.7173 MB / 1.1 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002415/0.4075, allocations: 0.9217 MB / 1.101 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/0.409, allocations: 0.8207 MB / 1.102 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002287/0.4093, allocations: 36 kB / 1.102 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002113/0.4114, allocations: 0.756 MB / 1.102 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004041/0.4118, allocations: 254.9 kB / 1.103 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009033/0.4127, allocations: 0.5414 MB / 1.103 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002937/0.4157, allocations: 1.549 MB / 1.105 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4157, allocations: 0 / 1.105 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4157, allocations: 0 / 1.105 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.867e-05/0.4158, allocations: 4 kB / 1.105 GB, free: 5.637 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.003067/0.4188, allocations: 1.36 MB / 1.106 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.4189, allocations: 11.97 kB / 1.106 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002498/0.4192, allocations: 114.7 kB / 1.106 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003606/0.4228, allocations: 0.6314 MB / 1.107 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.4242, allocations: 0.8056 MB / 1.108 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.138e-05/0.4243, allocations: 58.12 kB / 1.108 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.4245, allocations: 76 kB / 1.108 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0026/0.4271, allocations: 1.105 MB / 1.109 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.4271, allocations: 7.922 kB / 1.109 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.825e-05/0.4272, allocations: 32 kB / 1.109 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.4272, allocations: 20 kB / 1.109 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003255/0.4305, allocations: 1.024 MB / 1.11 GB, free: 204 kB / 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.006339/0.4369, allocations: 4.967 MB / 1.115 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003001/0.4399, allocations: 0.9615 MB / 1.116 GB, free: 9.973 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.4414, allocations: 498.2 kB / 1.116 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0015/0.4429, allocations: 1.604 MB / 1.118 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001718/0.4446, allocations: 0.5924 MB / 1.118 GB, free: 6.926 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=61): time 3.176e-06/0.4446, allocations: 0 / 1.118 GB, free: 6.926 MB / 0.8731 GB Notification: Performance of matching and sorting (n=61): time 0.005055/0.4497, allocations: 1.516 MB / 1.12 GB, free: 5.402 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.4498, allocations: 59.97 kB / 1.12 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/0.4515, allocations: 1.12 MB / 1.121 GB, free: 4.199 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.4516, allocations: 37.7 kB / 1.121 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005215/0.4522, allocations: 0.5396 MB / 1.121 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000229/0.4524, allocations: 221 kB / 1.122 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.4525, allocations: 73.67 kB / 1.122 GB, free: 3.312 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4527, allocations: 334 kB / 1.122 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.4542, allocations: 461.6 kB / 1.123 GB, free: 2.531 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.4559, allocations: 0.7281 MB / 1.123 GB, free: 1.688 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003317/0.4593, allocations: 1.144 MB / 1.124 GB, free: 448 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/0.4593, allocations: 4 kB / 1.124 GB, free: 444 kB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003866/0.4632, allocations: 1.298 MB / 1.126 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.4632, allocations: 9.719 kB / 1.126 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.4632, allocations: 8 kB / 1.126 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.4633, allocations: 12 kB / 1.126 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.4645, allocations: 275.6 kB / 1.126 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.361e-05/0.4646, allocations: 12 kB / 1.126 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.466, allocations: 215 kB / 1.126 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.4662, allocations: 39.98 kB / 1.126 GB, free: 14.57 MB / 0.8887 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.0005275/0.4667, allocations: 299.6 kB / 1.126 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/0.467, allocations: 122.4 kB / 1.127 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00398/0.471, allocations: 1.386 MB / 1.128 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.471, allocations: 12 kB / 1.128 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.471, allocations: 0 / 1.128 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.471, allocations: 3.984 kB / 1.128 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005332/0.4764, allocations: 2.386 MB / 1.13 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.4764, allocations: 4 kB / 1.13 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.4774, allocations: 199.9 kB / 1.13 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.4775, allocations: 4 kB / 1.13 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.7e-05/0.4775, allocations: 23.97 kB / 1.131 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.4775, allocations: 4 kB / 1.131 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.4776, allocations: 7.938 kB / 1.131 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005302/0.4829, allocations: 2.012 MB / 1.132 GB, free: 7.98 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000544/0.4834, allocations: 283.3 kB / 1.133 GB, free: 7.684 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/0.4836, allocations: 20.08 kB / 1.133 GB, free: 7.664 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.4847, allocations: 135.8 kB / 1.133 GB, free: 7.531 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.4849, allocations: 52.42 kB / 1.133 GB, free: 7.48 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.906e-05/0.485, allocations: 35.97 kB / 1.133 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001022/0.486, allocations: 0.7638 MB / 1.134 GB, free: 6.676 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.486, allocations: 0 / 1.134 GB, free: 6.676 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001131/0.4871, allocations: 347.5 kB / 1.134 GB, free: 6.336 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.007329/0.4945, allocations: 3.097 MB / 1.137 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003505/0.498, allocations: 1.142 MB / 1.138 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.498, allocations: 4.188 kB / 1.138 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001699/0.4997, allocations: 0.5812 MB / 1.139 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/0.5023, allocations: 429.7 kB / 1.139 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02059/0.5229, allocations: 10.68 MB / 1.15 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008351/0.5238, allocations: 1.1 MB / 1.151 GB, free: 4.828 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001179/0.525, allocations: 244.6 kB / 1.151 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006744/0.5257, allocations: 463.2 kB / 1.151 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of SimCode: time 1.573e-06/0.5257, allocations: 0 / 1.151 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05901/0.5847, allocations: 28.94 MB / 1.18 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/0.585, allocations: 270 kB / 1.18 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.694/3.279, allocations: 0 / 1.18 GB, free: 7.328 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)