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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004987/0.004987, allocations: 98.94 kB / 15.73 MB, free: 6.008 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.001388/0.001388, allocations: 195.8 kB / 16.68 MB, free: 5.934 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.243/1.243, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.408/2.408, allocations: 482.6 MB / 0.7551 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 61.83 kB / 1.083 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2553, allocations: 162.3 MB / 1.242 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2256/0.4809, allocations: 241.7 MB / 1.478 GB, free: 6.215 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01154/0.4925, allocations: 8.411 MB / 1.486 GB, free: 13.79 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008867/0.4934, allocations: 67.56 kB / 1.486 GB, free: 13.72 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.4953, allocations: 1.06 MB / 1.487 GB, free: 12.65 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005431/0.5008, allocations: 3.056 MB / 1.49 GB, free: 9.582 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.006504/0.5073, allocations: 3.534 MB / 1.494 GB, free: 6.047 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003857/0.5112, allocations: 3.893 MB / 1.498 GB, free: 2.141 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/0.5128, allocations: 1.353 MB / 1.499 GB, free: 0.7539 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003349/0.5161, allocations: 2.191 MB / 1.501 GB, free: 14.55 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.5176, allocations: 1.354 MB / 1.502 GB, free: 13.2 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.5178, allocations: 128 kB / 1.502 GB, free: 13.07 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005896/0.5237, allocations: 3.924 MB / 1.506 GB, free: 9.137 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005257/0.5243, allocations: 0.6035 MB / 1.507 GB, free: 8.531 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0009277/0.5252, allocations: 0.987 MB / 1.508 GB, free: 7.539 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00507/0.5303, allocations: 3.87 MB / 1.512 GB, free: 3.656 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5303, allocations: 4 kB / 1.512 GB, free: 3.652 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5303, allocations: 0 / 1.512 GB, free: 3.652 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.72e-05/0.5303, allocations: 0 / 1.512 GB, free: 3.652 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.005263/0.5356, allocations: 2.702 MB / 1.514 GB, free: 0.8789 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.5357, allocations: 8.031 kB / 1.514 GB, free: 0.8711 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002082/0.5359, allocations: 194.4 kB / 1.514 GB, free: 0.6719 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006618/0.5425, allocations: 1.138 MB / 1.516 GB, free: 15.53 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.5444, allocations: 1.275 MB / 1.517 GB, free: 14.2 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.1e-05/0.5445, allocations: 106.5 kB / 1.517 GB, free: 14.1 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/0.5447, allocations: 124 kB / 1.517 GB, free: 13.98 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003522/0.5483, allocations: 1.959 MB / 1.519 GB, free: 11.89 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/0.5483, allocations: 3.938 kB / 1.519 GB, free: 11.89 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.5484, allocations: 63.92 kB / 1.519 GB, free: 11.82 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-05/0.5485, allocations: 62.34 kB / 1.519 GB, free: 11.76 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004375/0.5529, allocations: 1.882 MB / 1.521 GB, free: 9.871 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009173/0.5621, allocations: 8.672 MB / 1.529 GB, free: 0.6133 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003644/0.5657, allocations: 1.504 MB / 1.531 GB, free: 15.11 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/0.5675, allocations: 0.7961 MB / 1.532 GB, free: 14.31 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/0.5688, allocations: 0.9569 MB / 1.533 GB, free: 13.16 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001977/0.5707, allocations: 0.8715 MB / 1.533 GB, free: 12.28 MB / 1.264 GB Notification: Performance of pre-optimization done (n=106): time 2.514e-06/0.5708, allocations: 0 / 1.533 GB, free: 12.28 MB / 1.264 GB Notification: Performance of matching and sorting (n=106): time 0.006185/0.5769, allocations: 2.4 MB / 1.536 GB, free: 9.875 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.577, allocations: 68.41 kB / 1.536 GB, free: 9.793 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/0.5789, allocations: 1.713 MB / 1.537 GB, free: 8.031 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-05/0.579, allocations: 49.7 kB / 1.537 GB, free: 7.977 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006269/0.5797, allocations: 0.8248 MB / 1.538 GB, free: 7.145 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/0.58, allocations: 392.6 kB / 1.539 GB, free: 6.758 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003687/0.5804, allocations: 234.9 kB / 1.539 GB, free: 6.523 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.5805, allocations: 353.9 kB / 1.539 GB, free: 6.172 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/0.5823, allocations: 0.67 MB / 1.54 GB, free: 5.5 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002054/0.5843, allocations: 1.049 MB / 1.541 GB, free: 4.297 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003725/0.5881, allocations: 1.714 MB / 1.543 GB, free: 2.441 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.5881, allocations: 0 / 1.543 GB, free: 2.441 MB / 1.264 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004326/0.5924, allocations: 1.941 MB / 1.544 GB, free: 0.4922 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.5925, allocations: 12 kB / 1.544 GB, free: 492 kB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.5925, allocations: 12 kB / 1.545 GB, free: 480 kB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.5925, allocations: 20 kB / 1.545 GB, free: 460 kB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.5941, allocations: 363.9 kB / 1.545 GB, free: 96 kB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.102e-05/0.5941, allocations: 19.94 kB / 1.545 GB, free: 76 kB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.4557/1.05, allocations: 242.3 kB / 1.545 GB, free: 300.5 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002137/1.05, allocations: 65.78 kB / 1.545 GB, free: 300.5 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (157): * Single equations (assignments): 157 * 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.0007142/1.051, allocations: 406 kB / 1.546 GB, free: 300.4 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002971/1.051, allocations: 199.1 kB / 1.546 GB, free: 300.4 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004234/1.055, allocations: 1.811 MB / 1.548 GB, free: 300.3 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/1.055, allocations: 10.75 kB / 1.548 GB, free: 300.3 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/1.055, allocations: 0.6562 kB / 1.548 GB, free: 300.3 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/1.055, allocations: 4.734 kB / 1.548 GB, free: 300.3 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007211/1.063, allocations: 3.987 MB / 1.551 GB, free: 299.3 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/1.063, allocations: 7.062 kB / 1.551 GB, free: 299.3 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/1.064, allocations: 273 kB / 1.552 GB, free: 299.3 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/1.064, allocations: 10.12 kB / 1.552 GB, free: 299.3 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-05/1.064, allocations: 40.72 kB / 1.552 GB, free: 299.3 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.248e-05/1.064, allocations: 19.27 kB / 1.552 GB, free: 299.3 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.064, allocations: 8.328 kB / 1.552 GB, free: 299.3 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00558/1.07, allocations: 2.924 MB / 1.555 GB, free: 298.1 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004817/1.07, allocations: 398.5 kB / 1.555 GB, free: 297.9 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002212/1.07, allocations: 34.77 kB / 1.555 GB, free: 297.9 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/1.072, allocations: 122.1 kB / 1.555 GB, free: 297.9 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/1.072, allocations: 92.14 kB / 1.555 GB, free: 297.8 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-05/1.072, allocations: 50.31 kB / 1.555 GB, free: 297.8 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001305/1.073, allocations: 1.169 MB / 1.556 GB, free: 297.4 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.6e-07/1.073, allocations: 0 / 1.556 GB, free: 297.4 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001073/1.074, allocations: 466.5 kB / 1.557 GB, free: 297.3 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (106): * Single equations (assignments): 100 * 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.007325/1.082, allocations: 3.951 MB / 1.561 GB, free: 295.5 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003768/1.085, allocations: 1.637 MB / 1.562 GB, free: 295.1 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.085, allocations: 5.219 kB / 1.562 GB, free: 295.1 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001846/1.087, allocations: 0.8087 MB / 1.563 GB, free: 294.9 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003661/1.091, allocations: 0.9814 MB / 1.564 GB, free: 294.6 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01956/1.111, allocations: 14.67 MB / 1.578 GB, free: 287.7 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005444/1.111, allocations: 1.362 MB / 1.58 GB, free: 287 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00154/1.113, allocations: 465.2 kB / 1.58 GB, free: 286.8 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007651/1.113, allocations: 0.7235 MB / 1.581 GB, free: 286.3 MB / 1.264 GB Notification: Performance of SimCode: time 4.21e-07/1.113, allocations: 0 / 1.581 GB, free: 286.3 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8012/1.915, allocations: 50.41 MB / 1.63 GB, free: 238.7 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.94/31.85, allocations: 10.86 kB / 1.63 GB, free: 238.7 MB / 1.264 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/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=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)