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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.002479/0.002479, 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.00271/0.00271, allocations: 191.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.073/3.073, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 6.246/6.246, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002569/0.002568, allocations: 62.59 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6497/0.6523, allocations: 157.4 MB / 1.052 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.06718/0.7196, allocations: 29.14 MB / 1.081 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02021/0.7399, allocations: 6.835 MB / 1.088 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003939/0.744, allocations: 43.69 kB / 1.088 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004089/0.7482, allocations: 0.6105 MB / 1.088 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.008985/0.7572, allocations: 1.361 MB / 1.09 GB, free: 2.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00657/0.7639, allocations: 1.055 MB / 1.091 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007474/0.7714, allocations: 2.496 MB / 1.093 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003178/0.7746, allocations: 0.8022 MB / 1.094 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005703/0.7804, allocations: 1.023 MB / 1.095 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003087/0.7836, allocations: 0.8481 MB / 1.096 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0007027/0.7843, allocations: 68 kB / 1.096 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004968/0.7893, allocations: 0.8381 MB / 1.096 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001147/0.7905, allocations: 286.9 kB / 1.097 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002781/0.7934, allocations: 0.5553 MB / 1.097 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008016/0.8014, allocations: 1.593 MB / 1.099 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.344e-05/0.8016, allocations: 0 / 1.099 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.328e-06/0.8016, allocations: 0 / 1.099 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.000112/0.8017, allocations: 0 / 1.099 GB, free: 8.93 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.007286/0.809, allocations: 1.574 MB / 1.1 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 9.931e-05/0.8092, allocations: 8.625 kB / 1.1 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004155/0.8096, allocations: 114.7 kB / 1.1 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006361/0.816, allocations: 0.5884 MB / 1.101 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004046/0.8201, allocations: 0.7978 MB / 1.102 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.8204, allocations: 62.12 kB / 1.102 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005594/0.821, allocations: 72 kB / 1.102 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006036/0.8271, allocations: 1.096 MB / 1.103 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.574e-05/0.8272, allocations: 7.938 kB / 1.103 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002151/0.8274, allocations: 32 kB / 1.103 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.364e-05/0.8275, allocations: 20 kB / 1.103 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005696/0.8332, allocations: 1 MB / 1.104 GB, free: 3.359 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.01454/0.8478, allocations: 4.931 MB / 1.109 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004876/0.8527, allocations: 0.9152 MB / 1.11 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002299/0.8551, allocations: 490.1 kB / 1.11 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002982/0.8581, allocations: 1.592 MB / 1.112 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002695/0.8609, allocations: 0.569 MB / 1.112 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=61): time 7.384e-06/0.8609, allocations: 0 / 1.112 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of matching and sorting (n=61): time 0.008063/0.869, allocations: 1.489 MB / 1.114 GB, free: 8.723 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/0.8692, allocations: 63.91 kB / 1.114 GB, free: 8.648 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003288/0.8725, allocations: 1.112 MB / 1.115 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002063/0.8728, allocations: 37.7 kB / 1.115 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008836/0.8737, allocations: 0.5434 MB / 1.116 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004586/0.8742, allocations: 213.1 kB / 1.116 GB, free: 6.719 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006281/0.8748, allocations: 166.4 kB / 1.116 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000251/0.8751, allocations: 334 kB / 1.116 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003372/0.8785, allocations: 453.6 kB / 1.117 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003/0.8815, allocations: 0.7125 MB / 1.117 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005333/0.8869, allocations: 1.12 MB / 1.118 GB, free: 3.723 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.913e-05/0.887, allocations: 8.094 kB / 1.118 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.007287/0.8943, allocations: 1.282 MB / 1.12 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.565e-05/0.8944, allocations: 8 kB / 1.12 GB, free: 2.414 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.74e-05/0.8945, allocations: 8 kB / 1.12 GB, free: 2.406 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.561e-05/0.8945, allocations: 16 kB / 1.12 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/0.8968, allocations: 263.8 kB / 1.12 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.756e-05/0.8968, allocations: 19.94 kB / 1.12 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002629/0.8995, allocations: 195 kB / 1.12 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002957/0.8998, allocations: 47.97 kB / 1.12 GB, free: 1.875 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.001277/0.9011, allocations: 291.7 kB / 1.121 GB, free: 1.578 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006806/0.9018, allocations: 122.4 kB / 1.121 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007278/0.9091, allocations: 1.359 MB / 1.122 GB, free: 92 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.696e-05/0.9092, allocations: 15.98 kB / 1.122 GB, free: 76 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/0.9092, allocations: 0 / 1.122 GB, free: 76 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.398e-05/0.9093, allocations: 3.984 kB / 1.122 GB, free: 72 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/0.9196, allocations: 2.366 MB / 1.124 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.39e-05/0.9197, allocations: 4 kB / 1.124 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/0.9215, allocations: 187.9 kB / 1.124 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-05/0.9215, allocations: 7.938 kB / 1.124 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/0.9217, allocations: 31.97 kB / 1.125 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.632e-05/0.9217, allocations: 4 kB / 1.125 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.9217, allocations: 3.938 kB / 1.125 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009227/0.931, allocations: 1.973 MB / 1.126 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/0.9322, allocations: 271.4 kB / 1.127 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005605/0.9328, allocations: 19.98 kB / 1.127 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002111/0.935, allocations: 115.9 kB / 1.127 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.9352, allocations: 56.38 kB / 1.127 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001609/0.9354, allocations: 35.97 kB / 1.127 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002669/0.9381, allocations: 0.7638 MB / 1.128 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.082e-06/0.9381, allocations: 4 kB / 1.128 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002598/0.9407, allocations: 343.6 kB / 1.128 GB, free: 9.77 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.01303/0.9538, allocations: 3.066 MB / 1.131 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.006643/0.9605, allocations: 1.192 MB / 1.132 GB, free: 5.629 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.9605, allocations: 0 / 1.132 GB, free: 5.629 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002794/0.9634, allocations: 0.5736 MB / 1.133 GB, free: 5.055 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004739/0.9681, allocations: 460.8 kB / 1.133 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04227/1.01, allocations: 10.55 MB / 1.143 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/1.012, allocations: 1.107 MB / 1.145 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002501/1.015, allocations: 248.6 kB / 1.145 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/1.016, allocations: 459.2 kB / 1.145 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of SimCode: time 2.365e-06/1.016, allocations: 0 / 1.145 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1529/1.169, allocations: 30.06 MB / 1.175 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004372/1.17, allocations: 253.8 kB / 1.175 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.745/7.914, allocations: 3.938 kB / 1.175 GB, free: 9.73 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)