Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.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.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature",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.0008272/0.000827, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005473/0.005473, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.277/1.277, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.277/2.277, allocations: 390.9 MB / 0.6664 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003733, allocations: 15.98 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7285/0.7289, allocations: 142.4 MB / 0.9552 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.002515/0.7315, allocations: 2.251 MB / 0.9574 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.7332, allocations: 0.8908 MB / 0.9583 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.7334, allocations: 14.28 kB / 0.9583 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.7336, allocations: 39.16 kB / 0.9583 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.7337, allocations: 43.39 kB / 0.9584 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006211/0.7344, allocations: 292.9 kB / 0.9586 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004238/0.7348, allocations: 0.538 MB / 0.9592 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003837/0.7352, allocations: 275.2 kB / 0.9594 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.7354, allocations: 134.5 kB / 0.9595 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.7355, allocations: 160.1 kB / 0.9597 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/0.7356, allocations: 14.75 kB / 0.9597 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.629e-05/0.7357, allocations: 32.73 kB / 0.9597 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.7357, allocations: 62.92 kB / 0.9598 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.7359, allocations: 212.4 kB / 0.96 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004147/0.7363, allocations: 0.6572 MB / 0.9606 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7363, allocations: 0 / 0.9606 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7363, allocations: 4 kB / 0.9607 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.7363, allocations: 1.375 kB / 0.9607 GB, free: 3.41 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0009408/0.7373, allocations: 0.6919 MB / 0.9613 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.7373, allocations: 8.25 kB / 0.9613 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.515e-05/0.7374, allocations: 80.45 kB / 0.9614 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.9e-05/0.7375, allocations: 55.75 kB / 0.9615 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.7379, allocations: 384.2 kB / 0.9618 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/0.738, allocations: 39.34 kB / 0.9619 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-05/0.7381, allocations: 47.28 kB / 0.9619 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007042/0.7388, allocations: 436.1 kB / 0.9623 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.7388, allocations: 1.031 kB / 0.9623 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.7388, allocations: 19.56 kB / 0.9624 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.7388, allocations: 9.875 kB / 0.9624 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000572/0.7394, allocations: 321.3 kB / 0.9627 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.7412, allocations: 1.441 MB / 0.9641 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005605/0.7418, allocations: 257.6 kB / 0.9643 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.742, allocations: 122 kB / 0.9644 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.7421, allocations: 2.25 kB / 0.9644 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003291/0.7424, allocations: 205.1 kB / 0.9646 GB, free: 372 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.833e-06/0.7424, allocations: 0 / 0.9646 GB, free: 372 kB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0006734/0.7431, allocations: 337.7 kB / 0.965 GB, free: 200 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.7431, allocations: 141.8 kB / 0.9651 GB, free: 32 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004553/0.7436, allocations: 412.3 kB / 0.9655 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.7437, allocations: 32.61 kB / 0.9655 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.7438, allocations: 240.9 kB / 0.9657 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.371e-05/0.7439, allocations: 81.53 kB / 0.9658 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.139e-05/0.744, allocations: 39.02 kB / 0.9659 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.7441, allocations: 346.6 kB / 0.9662 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.7444, allocations: 127.2 kB / 0.9663 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.7447, allocations: 196.6 kB / 0.9665 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005063/0.7452, allocations: 290.4 kB / 0.9668 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.7452, allocations: 0 / 0.9668 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000776/0.746, allocations: 431.5 kB / 0.9672 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.582e-05/0.7461, allocations: 150.6 kB / 0.9673 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.7461, allocations: 2.156 kB / 0.9673 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.7462, allocations: 6.203 kB / 0.9673 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.7464, allocations: 59.44 kB / 0.9674 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.495e-06/0.7465, allocations: 3 kB / 0.9674 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004104/0.7469, allocations: 92.39 kB / 0.9675 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.7469, allocations: 15.16 kB / 0.9675 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.072e-06/0.7469, allocations: 3.906 kB / 0.9675 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006267/0.7476, allocations: 367.2 kB / 0.9679 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-06/0.7476, allocations: 1.969 kB / 0.9679 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.55e-06/0.7476, allocations: 5.938 kB / 0.9679 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.7478, allocations: 63.12 kB / 0.9679 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.7478, allocations: 3 kB / 0.9679 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000348/0.7482, allocations: 80.98 kB / 0.968 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.7482, allocations: 19.11 kB / 0.968 GB, free: 13.95 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,uEna.y,$PRE.uEna.y,$whenCondition3,conTSup.con.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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.0002095/0.7484, allocations: 245 kB / 0.9683 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.7485, allocations: 37.38 kB / 0.9683 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006156/0.7491, allocations: 306 kB / 0.9686 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.7491, allocations: 7.188 kB / 0.9686 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.7491, allocations: 0 / 0.9686 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.7492, allocations: 0.9688 kB / 0.9686 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009942/0.7502, allocations: 0.774 MB / 0.9693 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.7502, allocations: 0 / 0.9693 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.7504, allocations: 47.78 kB / 0.9694 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.7504, allocations: 5.594 kB / 0.9694 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.7504, allocations: 6.688 kB / 0.9694 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.7504, allocations: 4.953 kB / 0.9694 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7504, allocations: 0 / 0.9694 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007883/0.7512, allocations: 0.5081 MB / 0.9699 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.046e-05/0.7513, allocations: 122.7 kB / 0.97 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.7514, allocations: 5.906 kB / 0.97 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.7516, allocations: 22.66 kB / 0.97 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.7517, allocations: 19.91 kB / 0.9701 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.7517, allocations: 7.031 kB / 0.9701 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002968/0.752, allocations: 289.1 kB / 0.9704 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.752, allocations: 5.219 kB / 0.9704 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005104/0.7525, allocations: 163.2 kB / 0.9705 GB, free: 12.17 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001072/0.7536, allocations: 1.042 MB / 0.9715 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009993/0.7546, allocations: 0.5753 MB / 0.9721 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7546, allocations: 0.5625 kB / 0.9721 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.7548, allocations: 130 kB / 0.9722 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/0.7553, allocations: 62.25 kB / 0.9723 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005168/0.7605, allocations: 3.841 MB / 0.976 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.7609, allocations: 0.8023 MB / 0.9768 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001917/0.7611, allocations: 46.55 kB / 0.9769 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.7613, allocations: 145.6 kB / 0.977 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of SimCode: time 7.41e-07/0.7613, allocations: 5 kB / 0.977 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/0.7799, allocations: 8.027 MB / 0.9848 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/0.7801, allocations: 247 kB / 0.9851 GB, free: 272 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/2.73, allocations: 0 / 0.9851 GB, free: 272 kB / 0.7325 GB (rm -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.fmu > Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1)