Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_latest_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.004063/0.004063, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001028/0.001028, allocations: 191.2 kB / 16.67 MB, free: 5.93 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.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.356/2.356, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.91 kB / 1.054 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6482/0.6495, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1769/0.8264, allocations: 193.8 MB / 1.397 GB, free: 10.98 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007863/0.8343, allocations: 5.155 MB / 1.402 GB, free: 5.82 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.8354, allocations: 47.69 kB / 1.402 GB, free: 5.773 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001644/0.8371, allocations: 0.8041 MB / 1.402 GB, free: 4.965 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005115/0.8422, allocations: 2.61 MB / 1.405 GB, free: 2.344 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.8444, allocations: 1.099 MB / 1.406 GB, free: 1.25 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002681/0.8471, allocations: 2.687 MB / 1.409 GB, free: 14.55 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.8483, allocations: 0.9328 MB / 1.41 GB, free: 13.61 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.8498, allocations: 1.105 MB / 1.411 GB, free: 12.5 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.851, allocations: 0.9924 MB / 1.412 GB, free: 11.5 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.8512, allocations: 88 kB / 1.412 GB, free: 11.42 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/0.8536, allocations: 1.793 MB / 1.413 GB, free: 9.621 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004061/0.854, allocations: 458.5 kB / 1.414 GB, free: 9.172 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006312/0.8547, allocations: 0.6604 MB / 1.415 GB, free: 8.508 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002354/0.857, allocations: 2.208 MB / 1.417 GB, free: 6.293 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.857, allocations: 0 / 1.417 GB, free: 6.293 MB / 1.139 GB Notification: Performance of FrontEnd: time 8.72e-07/0.8571, allocations: 0 / 1.417 GB, free: 6.293 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.185e-05/0.8571, allocations: 0 / 1.417 GB, free: 6.293 MB / 1.139 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.00466/0.8618, allocations: 1.961 MB / 1.419 GB, free: 4.273 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.8618, allocations: 8.031 kB / 1.419 GB, free: 4.266 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001654/0.862, allocations: 135.6 kB / 1.419 GB, free: 4.125 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005338/0.8673, allocations: 0.8993 MB / 1.42 GB, free: 3.223 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.8688, allocations: 0.9722 MB / 1.421 GB, free: 2.195 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.092e-05/0.8688, allocations: 69.98 kB / 1.421 GB, free: 2.125 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.869, allocations: 91.98 kB / 1.421 GB, free: 2.035 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/0.8724, allocations: 1.579 MB / 1.422 GB, free: 436 kB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.8724, allocations: 0 / 1.422 GB, free: 436 kB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.8725, allocations: 43.92 kB / 1.422 GB, free: 392 kB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-05/0.8726, allocations: 45.98 kB / 1.422 GB, free: 344 kB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004922/0.8775, allocations: 1.846 MB / 1.424 GB, free: 14.49 MB / 1.154 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.006469/0.884, allocations: 4.738 MB / 1.429 GB, free: 9.516 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004216/0.8882, allocations: 1.553 MB / 1.43 GB, free: 7.953 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002231/0.8904, allocations: 0.8585 MB / 1.431 GB, free: 7.094 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/0.8916, allocations: 0.9529 MB / 1.432 GB, free: 5.953 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002327/0.8939, allocations: 0.8949 MB / 1.433 GB, free: 5.047 MB / 1.154 GB Notification: Performance of pre-optimization done (n=95): time 2.155e-06/0.8939, allocations: 384 / 1.433 GB, free: 5.047 MB / 1.154 GB Notification: Performance of matching and sorting (n=95): time 0.007282/0.9012, allocations: 2.466 MB / 1.435 GB, free: 2.574 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.9013, allocations: 64.41 kB / 1.435 GB, free: 2.496 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.9024, allocations: 1.193 MB / 1.437 GB, free: 1.293 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.744e-05/0.9025, allocations: 49.7 kB / 1.437 GB, free: 1.238 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.9028, allocations: 0.5408 MB / 1.437 GB, free: 0.6914 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/0.9031, allocations: 327.4 kB / 1.437 GB, free: 376 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002947/0.9034, allocations: 186.6 kB / 1.438 GB, free: 184 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.9035, allocations: 341.9 kB / 1.438 GB, free: 15.84 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002118/0.9056, allocations: 0.6967 MB / 1.439 GB, free: 15.14 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002242/0.9079, allocations: 0.9113 MB / 1.44 GB, free: 14.16 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004178/0.912, allocations: 1.554 MB / 1.441 GB, free: 12.55 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.9121, allocations: 4 kB / 1.441 GB, free: 12.55 MB / 1.17 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004648/0.9167, allocations: 1.78 MB / 1.443 GB, free: 10.76 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.9167, allocations: 8 kB / 1.443 GB, free: 10.75 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.9168, allocations: 4 kB / 1.443 GB, free: 10.75 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.9168, allocations: 16.47 kB / 1.443 GB, free: 10.73 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/0.9185, allocations: 347.4 kB / 1.443 GB, free: 10.39 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.9185, allocations: 11.98 kB / 1.443 GB, free: 10.38 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.9199, allocations: 234.6 kB / 1.443 GB, free: 10.15 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.414e-05/0.92, allocations: 47.97 kB / 1.443 GB, free: 10.1 MB / 1.17 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.0004247/0.9204, allocations: 347.6 kB / 1.444 GB, free: 9.754 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.9206, allocations: 130.4 kB / 1.444 GB, free: 9.625 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00488/0.9255, allocations: 1.803 MB / 1.446 GB, free: 7.816 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.9255, allocations: 8 kB / 1.446 GB, free: 7.809 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.9255, allocations: 0 / 1.446 GB, free: 7.809 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.9256, allocations: 3.984 kB / 1.446 GB, free: 7.805 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00667/0.9322, allocations: 3.34 MB / 1.449 GB, free: 4.359 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.9322, allocations: 4 kB / 1.449 GB, free: 4.355 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/0.9338, allocations: 296 kB / 1.449 GB, free: 4.066 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.801e-05/0.9339, allocations: 11.94 kB / 1.449 GB, free: 4.055 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.39e-05/0.9339, allocations: 31.97 kB / 1.449 GB, free: 4.023 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/0.934, allocations: 8 kB / 1.449 GB, free: 4.016 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.934, allocations: 7.938 kB / 1.449 GB, free: 4.008 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006878/0.9408, allocations: 2.843 MB / 1.452 GB, free: 1.105 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004541/0.9413, allocations: 327.2 kB / 1.452 GB, free: 0.7656 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.9415, allocations: 23.98 kB / 1.452 GB, free: 0.7422 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/0.9428, allocations: 151.8 kB / 1.453 GB, free: 0.5938 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.9429, allocations: 72.45 kB / 1.453 GB, free: 0.5234 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-05/0.943, allocations: 48.09 kB / 1.453 GB, free: 488 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007949/0.9438, allocations: 0.8314 MB / 1.453 GB, free: 15.64 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9439, allocations: 4 kB / 1.453 GB, free: 15.64 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0007859/0.9446, allocations: 339.6 kB / 1.454 GB, free: 15.3 MB / 1.186 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.008062/0.9527, allocations: 3.82 MB / 1.458 GB, free: 11.58 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.004361/0.9571, allocations: 1.634 MB / 1.459 GB, free: 9.934 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9571, allocations: 3.938 kB / 1.459 GB, free: 9.93 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002198/0.9593, allocations: 0.84 MB / 1.46 GB, free: 9.094 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/0.9616, allocations: 0.6223 MB / 1.461 GB, free: 8.488 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02053/0.9821, allocations: 12.04 MB / 1.472 GB, free: 12.11 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006019/0.9828, allocations: 1.187 MB / 1.473 GB, free: 10.89 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001031/0.9838, allocations: 358 kB / 1.474 GB, free: 10.54 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006774/0.9845, allocations: 0.5032 MB / 1.474 GB, free: 10.04 MB / 1.201 GB Notification: Performance of SimCode: time 2.11e-07/0.9845, allocations: 0 / 1.474 GB, free: 10.04 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.842/5.827, allocations: 35.69 MB / 1.509 GB, free: 6.777 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.443/15.27, allocations: 9.672 kB / 1.509 GB, free: 6.773 MB / 1.232 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)