Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_10_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.001327/0.001327, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.409/2.409, allocations: 437 MB / 0.7104 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 67.91 kB / 0.8694 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6395/0.641, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.004371/0.6454, allocations: 2.618 MB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001953/0.6474, allocations: 0.9278 MB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000395/0.6478, allocations: 7.938 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.6481, allocations: 63.27 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.6484, allocations: 63.39 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008507/0.6492, allocations: 331.1 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006993/0.6499, allocations: 0.5985 MB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000494/0.6504, allocations: 291.7 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/0.6508, allocations: 219.2 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.6511, allocations: 222.9 kB / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.6512, allocations: 68 kB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.6514, allocations: 83.98 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.6515, allocations: 119.6 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002384/0.6518, allocations: 254.8 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007408/0.6525, allocations: 0.7226 MB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.6525, allocations: 4 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6525, allocations: 4 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.027e-05/0.6526, allocations: 0 / 1.024 GB, free: 11.92 MB / 0.7794 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.00141/0.654, allocations: 0.7735 MB / 1.025 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.654, allocations: 12.03 kB / 1.025 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.413e-05/0.6541, allocations: 78.72 kB / 1.025 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.6542, allocations: 52.38 kB / 1.025 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/0.6548, allocations: 384.4 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/0.6548, allocations: 37.38 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.291e-05/0.6549, allocations: 40.38 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000691/0.6556, allocations: 438.4 kB / 1.026 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.6556, allocations: 0 / 1.026 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.6557, allocations: 24 kB / 1.026 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.6557, allocations: 12 kB / 1.026 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005955/0.6563, allocations: 307.9 kB / 1.026 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.6583, allocations: 1.428 MB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005956/0.6589, allocations: 260 kB / 1.028 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.6592, allocations: 120.9 kB / 1.028 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.6592, allocations: 4 kB / 1.028 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005237/0.6597, allocations: 200 kB / 1.028 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.834e-06/0.6598, allocations: 0 / 1.028 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.0008321/0.6606, allocations: 348.2 kB / 1.028 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.196e-05/0.6607, allocations: 132.5 kB / 1.028 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004372/0.6611, allocations: 413.6 kB / 1.029 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.6612, allocations: 33.64 kB / 1.029 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002748/0.6615, allocations: 244 kB / 1.029 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.169e-05/0.6615, allocations: 78.81 kB / 1.029 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.6617, allocations: 85.67 kB / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.6618, allocations: 346.8 kB / 1.029 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.6621, allocations: 125.1 kB / 1.03 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.6624, allocations: 196.5 kB / 1.03 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005033/0.663, allocations: 287.5 kB / 1.03 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.663, allocations: 0 / 1.03 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007345/0.6637, allocations: 424 kB / 1.03 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.956e-05/0.6638, allocations: 39.27 kB / 1.03 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.6638, allocations: 0 / 1.03 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.444e-05/0.6638, allocations: 7.984 kB / 1.03 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.6641, allocations: 55.91 kB / 1.031 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.6641, allocations: 7.938 kB / 1.031 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003663/0.6645, allocations: 75.61 kB / 1.031 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.6645, allocations: 15.98 kB / 1.031 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003595/0.6649, allocations: 248.2 kB / 1.031 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002715/0.6652, allocations: 188.6 kB / 1.031 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004032/0.6656, allocations: 274.3 kB / 1.031 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.6656, allocations: 0 / 1.031 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006562/0.6663, allocations: 410.5 kB / 1.032 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.6663, allocations: 41.64 kB / 1.032 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-06/0.6663, allocations: 0 / 1.032 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.408e-06/0.6663, allocations: 4 kB / 1.032 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.6665, allocations: 55.91 kB / 1.032 GB, free: 3.316 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.6666, allocations: 4 kB / 1.032 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/0.6669, allocations: 59.91 kB / 1.032 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.6669, allocations: 20 kB / 1.032 GB, free: 3.234 MB / 0.7794 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.0001357/0.6671, allocations: 200.2 kB / 1.032 GB, free: 3.031 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.123e-05/0.6671, allocations: 39.47 kB / 1.032 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000611/0.6678, allocations: 301.4 kB / 1.032 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6678, allocations: 4 kB / 1.032 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.6678, allocations: 3.938 kB / 1.032 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.6678, allocations: 16 kB / 1.032 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009547/0.6688, allocations: 0.7766 MB / 1.033 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.6688, allocations: 0 / 1.033 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.669, allocations: 51.91 kB / 1.033 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.669, allocations: 4 kB / 1.033 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.669, allocations: 7.984 kB / 1.033 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.669, allocations: 8 kB / 1.033 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.669, allocations: 0 / 1.033 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000774/0.6698, allocations: 494.8 kB / 1.034 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.74e-05/0.6699, allocations: 124.6 kB / 1.034 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.67, allocations: 8 kB / 1.034 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.6702, allocations: 24.03 kB / 1.034 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.6702, allocations: 11.98 kB / 1.034 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.6703, allocations: 11.98 kB / 1.034 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003115/0.6706, allocations: 287.2 kB / 1.034 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6706, allocations: 0 / 1.034 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004799/0.6711, allocations: 151.5 kB / 1.034 GB, free: 0.6445 MB / 0.7794 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.001148/0.6722, allocations: 1.049 MB / 1.035 GB, free: 15.57 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.6733, allocations: 0.5819 MB / 1.036 GB, free: 14.96 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6733, allocations: 4.188 kB / 1.036 GB, free: 14.96 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002551/0.6736, allocations: 115.9 kB / 1.036 GB, free: 14.85 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.674, allocations: 67.77 kB / 1.036 GB, free: 14.79 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005091/0.6791, allocations: 3.694 MB / 1.04 GB, free: 10.98 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.6796, allocations: 0.8077 MB / 1.04 GB, free: 10.14 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001792/0.6798, allocations: 47.27 kB / 1.041 GB, free: 10.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.68, allocations: 147.4 kB / 1.041 GB, free: 9.957 MB / 0.795 GB Notification: Performance of SimCode: time 4.71e-07/0.68, allocations: 0 / 1.041 GB, free: 9.957 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02999/0.71, allocations: 8.524 MB / 1.049 GB, free: 1.609 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.534/9.244, allocations: 4.375 kB / 1.049 GB, free: 1.605 MB / 0.795 GB (rm -f Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.fmu > Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1)