Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.001483/0.001483, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001778/0.001778, allocations: 197.2 kB / 16.14 MB, free: 6.719 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.296/1.296, allocations: 222.9 MB / 239.8 MB, free: 4.641 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.161/2.161, allocations: 390.2 MB / 0.6643 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 75.88 kB / 0.812 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5647/0.5659, allocations: 140.4 MB / 0.949 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.1807/0.7466, allocations: 191.6 MB / 1.136 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008403/0.7551, allocations: 5.183 MB / 1.141 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.7563, allocations: 43.69 kB / 1.141 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.7582, allocations: 0.7116 MB / 1.142 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005629/0.7639, allocations: 2.448 MB / 1.144 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002468/0.7664, allocations: 1.006 MB / 1.145 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003574/0.77, allocations: 3.526 MB / 1.149 GB, free: 4.961 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.7713, allocations: 0.8132 MB / 1.15 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001857/0.7732, allocations: 0.9959 MB / 1.151 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.7746, allocations: 1.012 MB / 1.151 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.7748, allocations: 52 kB / 1.152 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003422/0.7783, allocations: 2.065 MB / 1.154 GB, free: 15.99 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005031/0.7788, allocations: 418.5 kB / 1.154 GB, free: 15.59 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008151/0.7796, allocations: 0.6253 MB / 1.155 GB, free: 14.96 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002995/0.7826, allocations: 2.223 MB / 1.157 GB, free: 12.73 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.7826, allocations: 3.938 kB / 1.157 GB, free: 12.72 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7826, allocations: 4 kB / 1.157 GB, free: 12.72 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.203e-05/0.7827, allocations: 0 / 1.157 GB, free: 12.72 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005167/0.7878, allocations: 1.922 MB / 1.159 GB, free: 10.74 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.7879, allocations: 8.031 kB / 1.159 GB, free: 10.73 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002235/0.7881, allocations: 147.5 kB / 1.159 GB, free: 10.58 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004566/0.7927, allocations: 0.6966 MB / 1.159 GB, free: 9.883 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.7942, allocations: 0.8903 MB / 1.16 GB, free: 8.934 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.005e-05/0.7943, allocations: 73.98 kB / 1.16 GB, free: 8.863 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.7945, allocations: 95.92 kB / 1.16 GB, free: 8.77 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00318/0.7977, allocations: 1.469 MB / 1.162 GB, free: 7.242 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.7977, allocations: 3.938 kB / 1.162 GB, free: 7.238 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.7978, allocations: 32 kB / 1.162 GB, free: 7.207 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.449e-05/0.7979, allocations: 49.98 kB / 1.162 GB, free: 7.16 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004128/0.802, allocations: 1.557 MB / 1.164 GB, free: 5.598 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.00666/0.8087, allocations: 5.015 MB / 1.168 GB, free: 324 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003366/0.8121, allocations: 1.196 MB / 1.17 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/0.8138, allocations: 0.6587 MB / 1.17 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/0.8151, allocations: 0.9371 MB / 1.171 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001917/0.8171, allocations: 0.7303 MB / 1.172 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 3.407e-06/0.8171, allocations: 0 / 1.172 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.006085/0.8232, allocations: 1.956 MB / 1.174 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.8232, allocations: 60.06 kB / 1.174 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.8249, allocations: 1.263 MB / 1.175 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.825, allocations: 49.69 kB / 1.175 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004615/0.8255, allocations: 0.5677 MB / 1.176 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/0.8258, allocations: 284 kB / 1.176 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003313/0.8261, allocations: 182.5 kB / 1.176 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.8262, allocations: 349.9 kB / 1.176 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.8279, allocations: 0.5445 MB / 1.177 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/0.8297, allocations: 0.8247 MB / 1.178 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003283/0.833, allocations: 1.34 MB / 1.179 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.833, allocations: 4 kB / 1.179 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00396/0.837, allocations: 1.507 MB / 1.181 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.837, allocations: 8 kB / 1.181 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.837, allocations: 12.03 kB / 1.181 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.8371, allocations: 12 kB / 1.181 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.8385, allocations: 291.5 kB / 1.181 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.149e-05/0.8386, allocations: 15.98 kB / 1.181 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.84, allocations: 218.6 kB / 1.181 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.8401, allocations: 47.98 kB / 1.181 GB, free: 2.816 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0005615/0.8407, allocations: 344.2 kB / 1.181 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002913/0.841, allocations: 134.3 kB / 1.182 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004018/0.845, allocations: 1.456 MB / 1.183 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.8451, allocations: 8 kB / 1.183 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.8451, allocations: 0 / 1.183 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.8451, allocations: 15.86 kB / 1.183 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005985/0.8511, allocations: 2.857 MB / 1.186 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.8511, allocations: 4 kB / 1.186 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.8524, allocations: 228.1 kB / 1.186 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/0.8524, allocations: 8 kB / 1.186 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.972e-05/0.8525, allocations: 36.06 kB / 1.186 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-06/0.8526, allocations: 7.938 kB / 1.186 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.8526, allocations: 11.94 kB / 1.186 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005637/0.8582, allocations: 2.303 MB / 1.188 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005133/0.8587, allocations: 303.2 kB / 1.189 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/0.859, allocations: 23.98 kB / 1.189 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.8602, allocations: 119.9 kB / 1.189 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.8604, allocations: 68.36 kB / 1.189 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.642e-05/0.8605, allocations: 39.97 kB / 1.189 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001046/0.8615, allocations: 0.8684 MB / 1.19 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8615, allocations: 0 / 1.19 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000989/0.8625, allocations: 319.7 kB / 1.19 GB, free: 9.484 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (82): * Single equations (assignments): 76 * 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.007075/0.8696, allocations: 3.282 MB / 1.193 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003678/0.8733, allocations: 1.304 MB / 1.195 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.8733, allocations: 0 / 1.195 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001805/0.8751, allocations: 0.6599 MB / 1.195 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00279/0.8779, allocations: 0.5911 MB / 1.196 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02145/0.8994, allocations: 12.31 MB / 1.208 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007779/0.9002, allocations: 1.179 MB / 1.209 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001543/0.9017, allocations: 362.1 kB / 1.209 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007763/0.9025, allocations: 495.2 kB / 1.21 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of SimCode: time 7.32e-07/0.9025, allocations: 0 / 1.21 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3396/1.242, allocations: 33.47 MB / 1.242 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/1.242, allocations: 255.2 kB / 1.243 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.155/4.398, allocations: 4 kB / 1.243 GB, free: 3.465 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)