Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_9_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.001167/0.001167, 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.001276/0.001276, allocations: 195.6 kB / 16.14 MB, free: 6.648 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.299/1.299, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.205/2.205, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6177/0.6192, allocations: 140.4 MB / 0.949 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2033/0.8226, allocations: 191.6 MB / 1.136 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008176/0.8308, allocations: 5.179 MB / 1.141 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.8319, allocations: 47.69 kB / 1.141 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.8337, allocations: 0.7116 MB / 1.142 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005567/0.8393, allocations: 2.448 MB / 1.144 GB, free: 9.441 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002407/0.8417, allocations: 1.011 MB / 1.145 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00352/0.8452, allocations: 3.611 MB / 1.149 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.8464, allocations: 0.869 MB / 1.15 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.848, allocations: 1.019 MB / 1.151 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.8491, allocations: 1.02 MB / 1.152 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.8492, allocations: 56 kB / 1.152 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003279/0.8525, allocations: 2.081 MB / 1.154 GB, free: 15.75 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004037/0.8529, allocations: 426.5 kB / 1.154 GB, free: 15.33 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006199/0.8536, allocations: 0.6369 MB / 1.155 GB, free: 14.69 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002618/0.8562, allocations: 2.266 MB / 1.157 GB, free: 12.41 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.8562, allocations: 4 kB / 1.157 GB, free: 12.41 MB / 0.92 GB Notification: Performance of FrontEnd: time 7.61e-07/0.8562, allocations: 0 / 1.157 GB, free: 12.41 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.8562, allocations: 0 / 1.157 GB, free: 12.41 MB / 0.92 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.004949/0.8612, allocations: 1.949 MB / 1.159 GB, free: 10.4 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.8612, allocations: 12.02 kB / 1.159 GB, free: 10.39 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001658/0.8614, allocations: 139.6 kB / 1.159 GB, free: 10.25 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005697/0.8671, allocations: 0.8955 MB / 1.16 GB, free: 9.348 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.8685, allocations: 0.9097 MB / 1.161 GB, free: 8.379 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-05/0.8685, allocations: 69.98 kB / 1.161 GB, free: 8.312 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.8687, allocations: 88 kB / 1.161 GB, free: 8.227 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003646/0.8724, allocations: 1.583 MB / 1.162 GB, free: 6.609 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.8724, allocations: 0 / 1.162 GB, free: 6.609 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.8725, allocations: 43.97 kB / 1.163 GB, free: 6.566 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.458e-05/0.8726, allocations: 49.98 kB / 1.163 GB, free: 6.52 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005314/0.8779, allocations: 1.842 MB / 1.164 GB, free: 4.672 MB / 0.92 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.007416/0.8853, allocations: 4.734 MB / 1.169 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004452/0.8898, allocations: 1.565 MB / 1.171 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002287/0.8921, allocations: 0.8429 MB / 1.171 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/0.8934, allocations: 0.953 MB / 1.172 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002429/0.8958, allocations: 0.9104 MB / 1.173 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=95): time 3.046e-06/0.8959, allocations: 0 / 1.173 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=95): time 0.00761/0.9035, allocations: 2.446 MB / 1.176 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.9035, allocations: 64.41 kB / 1.176 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.9049, allocations: 1.201 MB / 1.177 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.905, allocations: 41.7 kB / 1.177 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/0.9055, allocations: 0.5448 MB / 1.177 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.9057, allocations: 327.3 kB / 1.178 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003465/0.9061, allocations: 190.5 kB / 1.178 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.9062, allocations: 341.9 kB / 1.178 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/0.9084, allocations: 0.7006 MB / 1.179 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002345/0.9108, allocations: 0.9165 MB / 1.18 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004413/0.9152, allocations: 1.558 MB / 1.181 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.9152, allocations: 0 / 1.181 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004878/0.9201, allocations: 1.776 MB / 1.183 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.9201, allocations: 8.031 kB / 1.183 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.9201, allocations: 8 kB / 1.183 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.9202, allocations: 8 kB / 1.183 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/0.922, allocations: 343.4 kB / 1.183 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/0.922, allocations: 12.08 kB / 1.183 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.9236, allocations: 254.6 kB / 1.184 GB, free: 340 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.9237, allocations: 47.97 kB / 1.184 GB, free: 292 kB / 0.9356 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.000527/0.9243, allocations: 336.3 kB / 1.184 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.9245, allocations: 134.3 kB / 1.184 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004931/0.9294, allocations: 1.807 MB / 1.186 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.9294, allocations: 8 kB / 1.186 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.9294, allocations: 0 / 1.186 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.9295, allocations: 7.969 kB / 1.186 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006913/0.9364, allocations: 3.332 MB / 1.189 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.9364, allocations: 4 kB / 1.189 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/0.9381, allocations: 296 kB / 1.189 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.9381, allocations: 4 kB / 1.189 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.864e-05/0.9382, allocations: 35.97 kB / 1.189 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.9382, allocations: 7.984 kB / 1.189 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.9382, allocations: 11.94 kB / 1.189 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007225/0.9455, allocations: 2.839 MB / 1.192 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004956/0.946, allocations: 327.1 kB / 1.193 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.9462, allocations: 32 kB / 1.193 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.9477, allocations: 171.7 kB / 1.193 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.9478, allocations: 72.45 kB / 1.193 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.651e-05/0.9479, allocations: 39.97 kB / 1.193 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009243/0.9489, allocations: 0.8314 MB / 1.194 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9489, allocations: 0 / 1.194 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009704/0.9499, allocations: 343.6 kB / 1.194 GB, free: 5.473 MB / 0.9512 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.008907/0.9588, allocations: 3.824 MB / 1.198 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004689/0.9635, allocations: 1.622 MB / 1.199 GB, free: 112 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.9635, allocations: 0 / 1.199 GB, free: 112 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002222/0.9657, allocations: 0.8399 MB / 1.2 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/0.9684, allocations: 0.5843 MB / 1.201 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02408/0.9925, allocations: 13.25 MB / 1.214 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007205/0.9932, allocations: 1.187 MB / 1.215 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001581/0.9948, allocations: 365.9 kB / 1.215 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007813/0.9956, allocations: 0.4953 MB / 1.216 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of SimCode: time 7.01e-07/0.9956, allocations: 0 / 1.216 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.289/2.285, allocations: 34.12 MB / 1.249 GB, free: 281.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/2.285, allocations: 244.7 kB / 1.249 GB, free: 281.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/4.996, allocations: 0 / 1.249 GB, free: 281.6 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)