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.0009449/0.0009451, allocations: 97.64 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.007506/0.007507, allocations: 170.1 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.459/1.459, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.784/2.784, allocations: 443.4 MB / 0.7176 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003556, allocations: 9.406 kB / 0.8797 GB, free: 41.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3278, allocations: 155.2 MB / 1.031 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02752/0.3554, allocations: 28.46 MB / 1.059 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01/0.3655, allocations: 6.82 MB / 1.066 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.3669, allocations: 43.69 kB / 1.066 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.3685, allocations: 0.5949 MB / 1.066 GB, free: 244 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00377/0.3722, allocations: 1.349 MB / 1.068 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.375, allocations: 1.035 MB / 1.069 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004145/0.3792, allocations: 3.222 MB / 1.072 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.3803, allocations: 0.7208 MB / 1.072 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001795/0.3821, allocations: 0.9178 MB / 1.073 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.3832, allocations: 0.8207 MB / 1.074 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.9e-05/0.3833, allocations: 36 kB / 1.074 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.3851, allocations: 0.756 MB / 1.075 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002662/0.3854, allocations: 251 kB / 1.075 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005402/0.3859, allocations: 0.5491 MB / 1.076 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.3878, allocations: 1.545 MB / 1.077 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3878, allocations: 0 / 1.077 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3878, allocations: 0 / 1.077 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.3878, allocations: 4 kB / 1.077 GB, free: 4.988 MB / 0.8262 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.002385/0.3902, allocations: 1.36 MB / 1.079 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3903, allocations: 8.031 kB / 1.079 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/0.3904, allocations: 122.6 kB / 1.079 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003501/0.394, allocations: 0.6275 MB / 1.079 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.3952, allocations: 0.8056 MB / 1.08 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-05/0.3952, allocations: 58.12 kB / 1.08 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.3954, allocations: 76 kB / 1.08 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/0.3978, allocations: 1.111 MB / 1.081 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.3978, allocations: 3.938 kB / 1.081 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.071e-05/0.3979, allocations: 32 kB / 1.081 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.3979, allocations: 20 kB / 1.081 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003037/0.401, allocations: 1.024 MB / 1.082 GB, free: 15.55 MB / 0.8419 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.00564/0.4066, allocations: 4.967 MB / 1.087 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002924/0.4096, allocations: 0.9543 MB / 1.088 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.411, allocations: 498.2 kB / 1.089 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001398/0.4124, allocations: 1.604 MB / 1.09 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001629/0.414, allocations: 0.5885 MB / 1.091 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=61): time 2.665e-06/0.4141, allocations: 0 / 1.091 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of matching and sorting (n=61): time 0.004859/0.4189, allocations: 1.524 MB / 1.092 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.419, allocations: 67.91 kB / 1.092 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.4204, allocations: 1.108 MB / 1.093 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.487e-05/0.4205, allocations: 37.7 kB / 1.093 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004341/0.4209, allocations: 0.5473 MB / 1.094 GB, free: 2.953 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.4211, allocations: 217 kB / 1.094 GB, free: 2.738 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.4213, allocations: 65.69 kB / 1.094 GB, free: 2.668 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4214, allocations: 337.9 kB / 1.095 GB, free: 2.332 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.4229, allocations: 461.6 kB / 1.095 GB, free: 1.879 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/0.4247, allocations: 0.7281 MB / 1.096 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003211/0.4279, allocations: 1.14 MB / 1.097 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.4279, allocations: 4 kB / 1.097 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004144/0.4321, allocations: 1.31 MB / 1.098 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.4321, allocations: 13.5 kB / 1.098 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.4322, allocations: 8 kB / 1.098 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.946e-05/0.4322, allocations: 12 kB / 1.098 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.4334, allocations: 267.7 kB / 1.098 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.668e-05/0.4335, allocations: 19.92 kB / 1.098 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.435, allocations: 207 kB / 1.099 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.4351, allocations: 43.97 kB / 1.099 GB, free: 13.91 MB / 0.8575 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.0006157/0.4357, allocations: 299.7 kB / 1.099 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.436, allocations: 122.4 kB / 1.099 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003882/0.4398, allocations: 1.382 MB / 1.1 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.4399, allocations: 12 kB / 1.1 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.4399, allocations: 0 / 1.1 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.4399, allocations: 3.984 kB / 1.1 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004991/0.4449, allocations: 2.382 MB / 1.103 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.4449, allocations: 4 kB / 1.103 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.446, allocations: 199.9 kB / 1.103 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.446, allocations: 4 kB / 1.103 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.919e-05/0.446, allocations: 19.98 kB / 1.103 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.4461, allocations: 7.984 kB / 1.103 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.4461, allocations: 7.938 kB / 1.103 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005064/0.4511, allocations: 2.008 MB / 1.105 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005392/0.4517, allocations: 279.4 kB / 1.105 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.4519, allocations: 20 kB / 1.105 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009919/0.4528, allocations: 135.8 kB / 1.105 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.453, allocations: 52.36 kB / 1.105 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.505e-05/0.4531, allocations: 39.97 kB / 1.105 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0009298/0.454, allocations: 0.7638 MB / 1.106 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.454, allocations: 0 / 1.106 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001097/0.4551, allocations: 351.4 kB / 1.107 GB, free: 5.699 MB / 0.8575 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.006767/0.4619, allocations: 3.095 MB / 1.11 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003295/0.4652, allocations: 1.13 MB / 1.111 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4652, allocations: 192 / 1.111 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001576/0.4668, allocations: 0.5929 MB / 1.111 GB, free: 1 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/0.4692, allocations: 430.1 kB / 1.112 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/0.4877, allocations: 10.69 MB / 1.122 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006351/0.4884, allocations: 1.104 MB / 1.123 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001082/0.4895, allocations: 244.6 kB / 1.123 GB, free: 3.945 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006014/0.4901, allocations: 471.2 kB / 1.124 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of SimCode: time 5.21e-07/0.4901, allocations: 0 / 1.124 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05022/0.5403, allocations: 28.93 MB / 1.152 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/0.5406, allocations: 260.8 kB / 1.152 GB, free: 6.691 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/3.178, allocations: 0 / 1.152 GB, free: 6.691 MB / 0.9044 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)