Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",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.00143/0.001429, 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.001606/0.001606, allocations: 193.2 kB / 16.14 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.403/1.403, 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 10.1.0-maint.10.0.x/package.mo): time 2.487/2.487, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 67.89 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6405/0.6419, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1773/0.8193, allocations: 191.6 MB / 1.204 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009899/0.8292, allocations: 5.198 MB / 1.209 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002217/0.8315, allocations: 43.69 kB / 1.209 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002342/0.8339, allocations: 0.7116 MB / 1.21 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006097/0.8401, allocations: 2.455 MB / 1.212 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.8424, allocations: 1 MB / 1.213 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003435/0.8459, allocations: 3.611 MB / 1.216 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.8472, allocations: 0.8651 MB / 1.217 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001809/0.849, allocations: 1.019 MB / 1.218 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.8505, allocations: 1.027 MB / 1.219 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002321/0.8507, allocations: 56 kB / 1.219 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003086/0.8538, allocations: 2.081 MB / 1.221 GB, free: 420 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004949/0.8543, allocations: 422.6 kB / 1.222 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008463/0.8552, allocations: 0.633 MB / 1.222 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002862/0.858, allocations: 2.258 MB / 1.225 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.858, allocations: 0 / 1.225 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 7.91e-07/0.8581, allocations: 0 / 1.225 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.68e-05/0.8581, allocations: 0 / 1.225 GB, free: 13.09 MB / 0.9825 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.005029/0.8631, allocations: 1.961 MB / 1.227 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.8632, allocations: 12.03 kB / 1.227 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001906/0.8634, allocations: 139.5 kB / 1.227 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005252/0.8686, allocations: 0.8955 MB / 1.228 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.87, allocations: 0.9059 MB / 1.228 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.482e-05/0.8701, allocations: 70 kB / 1.229 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.8702, allocations: 91.98 kB / 1.229 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003445/0.8737, allocations: 1.583 MB / 1.23 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.8737, allocations: 0 / 1.23 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.8738, allocations: 36 kB / 1.23 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.426e-05/0.8739, allocations: 53.92 kB / 1.23 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004911/0.8788, allocations: 1.846 MB / 1.232 GB, free: 5.352 MB / 0.9825 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.007256/0.8861, allocations: 4.734 MB / 1.237 GB, free: 400 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004101/0.8902, allocations: 1.564 MB / 1.238 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002105/0.8923, allocations: 0.8663 MB / 1.239 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/0.8935, allocations: 0.9451 MB / 1.24 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002345/0.8959, allocations: 0.8988 MB / 1.241 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=95): time 2.755e-06/0.8959, allocations: 4 kB / 1.241 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95): time 0.007113/0.903, allocations: 2.458 MB / 1.243 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.9031, allocations: 64.41 kB / 1.243 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.9043, allocations: 1.189 MB / 1.244 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.637e-05/0.9044, allocations: 53.69 kB / 1.245 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/0.9048, allocations: 0.5331 MB / 1.245 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/0.9051, allocations: 331.3 kB / 1.245 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003265/0.9054, allocations: 194.5 kB / 1.246 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.9055, allocations: 345.9 kB / 1.246 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/0.9075, allocations: 0.6966 MB / 1.247 GB, free: 6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002143/0.9097, allocations: 0.9113 MB / 1.247 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003956/0.9137, allocations: 1.554 MB / 1.249 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.9137, allocations: 4 kB / 1.249 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004581/0.9183, allocations: 1.776 MB / 1.251 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.9183, allocations: 4 kB / 1.251 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.9183, allocations: 4.438 kB / 1.251 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/0.9184, allocations: 20 kB / 1.251 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/0.9201, allocations: 343.4 kB / 1.251 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/0.9201, allocations: 8 kB / 1.251 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.9217, allocations: 254.7 kB / 1.251 GB, free: 1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.9219, allocations: 47.97 kB / 1.251 GB, free: 0.9531 MB / 0.9981 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.000524/0.9224, allocations: 335.7 kB / 1.252 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002555/0.9227, allocations: 138.3 kB / 1.252 GB, free: 492 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.46/1.383, allocations: 1.795 MB / 1.254 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/1.383, allocations: 9.562 kB / 1.254 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/1.383, allocations: 0.8125 kB / 1.254 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/1.383, allocations: 4.594 kB / 1.254 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007707/1.39, allocations: 3.326 MB / 1.257 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/1.39, allocations: 3.875 kB / 1.257 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001755/1.392, allocations: 296.7 kB / 1.257 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.899e-05/1.392, allocations: 8.219 kB / 1.257 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/1.392, allocations: 34.91 kB / 1.257 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.277e-05/1.392, allocations: 8.297 kB / 1.257 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/1.392, allocations: 11.09 kB / 1.257 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007441/1.4, allocations: 2.837 MB / 1.26 GB, free: 232.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005761/1.4, allocations: 325.6 kB / 1.26 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/1.401, allocations: 27.91 kB / 1.26 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/1.402, allocations: 175.5 kB / 1.26 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/1.402, allocations: 73.3 kB / 1.261 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/1.402, allocations: 42.56 kB / 1.261 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001095/1.403, allocations: 0.8294 MB / 1.261 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.403, allocations: 0 / 1.261 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001139/1.405, allocations: 342.3 kB / 1.262 GB, free: 231.8 MB / 0.9981 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.008594/1.413, allocations: 3.831 MB / 1.265 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004386/1.418, allocations: 1.621 MB / 1.267 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.418, allocations: 5.219 kB / 1.267 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002224/1.42, allocations: 0.8312 MB / 1.268 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/1.422, allocations: 0.5893 MB / 1.268 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02083/1.443, allocations: 13.25 MB / 1.281 GB, free: 222.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/1.444, allocations: 1.18 MB / 1.283 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001562/1.445, allocations: 365.7 kB / 1.283 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006908/1.446, allocations: 0.5003 MB / 1.283 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of SimCode: time 7.92e-07/1.446, allocations: 0 / 1.283 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3842/1.83, allocations: 34.13 MB / 1.317 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002804/1.831, allocations: 244.2 kB / 1.317 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.893/4.724, allocations: 0 / 1.317 GB, free: 187.4 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)