Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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_TSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_latest_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.001118/0.001118, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001537/0.001537, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.3 MB / 240 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.45/2.45, allocations: 409.4 MB / 0.684 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004215/0.0004217, allocations: 12 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7207/0.7212, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2007/0.9219, allocations: 176.3 MB / 1.153 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01058/0.9325, allocations: 4.882 MB / 1.158 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.9342, allocations: 39.69 kB / 1.158 GB, free: 0.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.9363, allocations: 0.6218 MB / 1.159 GB, free: 15.88 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007222/0.9436, allocations: 1.894 MB / 1.161 GB, free: 13.97 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003211/0.9468, allocations: 0.8963 MB / 1.161 GB, free: 13.08 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004483/0.9513, allocations: 3.007 MB / 1.164 GB, free: 10.07 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.9531, allocations: 0.7297 MB / 1.165 GB, free: 9.328 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002613/0.9557, allocations: 0.9804 MB / 1.166 GB, free: 8.344 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002026/0.9578, allocations: 0.9262 MB / 1.167 GB, free: 7.414 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004086/0.9582, allocations: 55.94 kB / 1.167 GB, free: 7.359 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003283/0.9615, allocations: 0.9353 MB / 1.168 GB, free: 6.422 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007904/0.9623, allocations: 402.7 kB / 1.168 GB, free: 6.027 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006995/0.963, allocations: 264.9 kB / 1.169 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002657/0.9657, allocations: 1.352 MB / 1.17 GB, free: 4.406 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.9657, allocations: 0 / 1.17 GB, free: 4.406 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.374e-06/0.9657, allocations: 7.938 kB / 1.17 GB, free: 4.398 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.8e-05/0.9658, allocations: 0 / 1.17 GB, free: 4.398 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.004984/0.9708, allocations: 1.681 MB / 1.172 GB, free: 2.66 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.9708, allocations: 8.031 kB / 1.172 GB, free: 2.652 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003331/0.9712, allocations: 147.4 kB / 1.172 GB, free: 2.5 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004256/0.9754, allocations: 0.7435 MB / 1.172 GB, free: 1.754 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.9774, allocations: 0.8445 MB / 1.173 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.359e-05/0.9775, allocations: 73.94 kB / 1.173 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002827/0.9778, allocations: 88 kB / 1.173 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003491/0.9813, allocations: 1.473 MB / 1.175 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.9814, allocations: 4 kB / 1.175 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.9815, allocations: 39.98 kB / 1.175 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.473e-05/0.9816, allocations: 45.98 kB / 1.175 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004117/0.9857, allocations: 1.581 MB / 1.176 GB, free: 13.5 MB / 0.9356 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.008623/0.9944, allocations: 5.046 MB / 1.181 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004674/0.9991, allocations: 1.232 MB / 1.183 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002408/1.002, allocations: 0.6708 MB / 1.183 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001712/1.003, allocations: 0.9566 MB / 1.184 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002583/1.006, allocations: 0.7342 MB / 1.185 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 5.37e-06/1.006, allocations: 4 kB / 1.185 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.00819/1.014, allocations: 1.983 MB / 1.187 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/1.014, allocations: 64.06 kB / 1.187 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/1.017, allocations: 1.259 MB / 1.188 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001541/1.017, allocations: 45.7 kB / 1.188 GB, free: 1 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004951/1.017, allocations: 0.5755 MB / 1.189 GB, free: 428 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003718/1.018, allocations: 276 kB / 1.189 GB, free: 148 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-05/1.018, allocations: 24 kB / 1.189 GB, free: 124 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.018, allocations: 345.9 kB / 1.189 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/1.02, allocations: 0.5523 MB / 1.19 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/1.021, allocations: 0.8208 MB / 1.191 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001636/1.023, allocations: 0.6118 MB / 1.191 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/1.023, allocations: 4 kB / 1.191 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.005533/1.029, allocations: 1.527 MB / 1.193 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/1.029, allocations: 8 kB / 1.193 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/1.029, allocations: 8.094 kB / 1.193 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/1.029, allocations: 16.09 kB / 1.193 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/1.031, allocations: 303.5 kB / 1.193 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.76e-05/1.031, allocations: 19.92 kB / 1.193 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/1.033, allocations: 226.6 kB / 1.193 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/1.033, allocations: 55.97 kB / 1.193 GB, free: 11.53 MB / 0.9512 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008693/1.034, allocations: 335.7 kB / 1.194 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000391/1.034, allocations: 134.3 kB / 1.194 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005927/1.04, allocations: 1.468 MB / 1.195 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/1.04, allocations: 8 kB / 1.195 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/1.041, allocations: 0 / 1.195 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/1.041, allocations: 7.984 kB / 1.195 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008979/1.05, allocations: 2.881 MB / 1.198 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.054e-05/1.05, allocations: 4 kB / 1.198 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/1.051, allocations: 232.2 kB / 1.198 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/1.051, allocations: 8 kB / 1.198 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.729e-05/1.051, allocations: 31.97 kB / 1.198 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/1.051, allocations: 4 kB / 1.198 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/1.051, allocations: 15.89 kB / 1.198 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005371/1.056, allocations: 2.334 MB / 1.201 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005723/1.057, allocations: 311.1 kB / 1.201 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/1.057, allocations: 23.98 kB / 1.201 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/1.058, allocations: 131.9 kB / 1.201 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/1.059, allocations: 60.39 kB / 1.201 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-05/1.059, allocations: 43.97 kB / 1.201 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001226/1.06, allocations: 0.8645 MB / 1.202 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.06, allocations: 0 / 1.202 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001077/1.061, allocations: 323.6 kB / 1.202 GB, free: 2.133 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007058/1.068, allocations: 3.32 MB / 1.206 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003684/1.072, allocations: 1.324 MB / 1.207 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.072, allocations: 0 / 1.207 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001812/1.074, allocations: 0.6677 MB / 1.208 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003317/1.077, allocations: 0.5897 MB / 1.208 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01756/1.095, allocations: 8.806 MB / 1.217 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008346/1.095, allocations: 1.167 MB / 1.218 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001693/1.097, allocations: 350.2 kB / 1.218 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008234/1.098, allocations: 495.2 kB / 1.219 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of SimCode: time 7.12e-07/1.098, allocations: 0 / 1.219 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05712/1.155, allocations: 33.17 MB / 1.251 GB, free: 332 kB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/1.155, allocations: 245.2 kB / 1.251 GB, free: 40 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.634/3.789, allocations: 8.062 kB / 1.251 GB, free: 32 kB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat does not exist to compare? outputFormat=mat