Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",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.001438/0.001443, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002185/0.002185, allocations: 189.9 kB / 16.25 MB, free: 6.633 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.731/1.731, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.151/3.151, allocations: 461.9 MB / 0.7344 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 64.66 kB / 0.8987 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5292/0.5306, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.007434/0.5381, allocations: 3.149 MB / 1.056 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003218/0.5414, allocations: 1.071 MB / 1.057 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008976/0.5423, allocations: 19.88 kB / 1.057 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004837/0.5428, allocations: 63.44 kB / 1.057 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006187/0.5435, allocations: 87.38 kB / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.5446, allocations: 318.3 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001065/0.5457, allocations: 0.6363 MB / 1.058 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005625/0.5462, allocations: 238.2 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004418/0.5467, allocations: 226.9 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003921/0.5471, allocations: 214.8 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.5472, allocations: 52 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.5473, allocations: 52 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.5475, allocations: 115.5 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.5477, allocations: 234.7 kB / 1.059 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007796/0.5485, allocations: 0.6696 MB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.5485, allocations: 0 / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5485, allocations: 0 / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.441e-05/0.5486, allocations: 0 / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001811/0.5504, allocations: 0.8176 MB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.268e-05/0.5505, allocations: 16.62 kB / 1.06 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.5506, allocations: 66.72 kB / 1.06 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.5507, allocations: 56.28 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009365/0.5517, allocations: 0.506 MB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.5517, allocations: 21.03 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.483e-05/0.5518, allocations: 24.38 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007161/0.5525, allocations: 378.9 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.5525, allocations: 0 / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.5526, allocations: 12 kB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.5526, allocations: 8 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000625/0.5532, allocations: 258 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009084/0.5623, allocations: 1.429 MB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007267/0.5631, allocations: 272.4 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.5634, allocations: 140.8 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.5634, allocations: 7.984 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.5634, allocations: 30.56 kB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 4.409e-06/0.5635, allocations: 3.984 kB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0009271/0.5644, allocations: 363 kB / 1.064 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.5644, allocations: 55.34 kB / 1.064 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005114/0.565, allocations: 417.8 kB / 1.064 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.565, allocations: 33.7 kB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.5652, allocations: 256.1 kB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.348e-05/0.5653, allocations: 82.84 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.5654, allocations: 57.89 kB / 1.065 GB, free: 12 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.5656, allocations: 350.8 kB / 1.065 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.5658, allocations: 96.52 kB / 1.065 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.5661, allocations: 164.7 kB / 1.065 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000513/0.5667, allocations: 266.2 kB / 1.065 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5667, allocations: 0 / 1.065 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006999/0.5674, allocations: 342.1 kB / 1.066 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.5674, allocations: 9.875 kB / 1.066 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.5674, allocations: 4 kB / 1.066 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.5675, allocations: 4 kB / 1.066 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00981/0.5773, allocations: 67.89 kB / 1.066 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.5773, allocations: 4 kB / 1.066 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.5776, allocations: 35.95 kB / 1.066 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.5776, allocations: 12 kB / 1.066 GB, free: 10.61 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002555/0.5779, allocations: 173.8 kB / 1.066 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.578, allocations: 43.44 kB / 1.066 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.5782, allocations: 47.92 kB / 1.066 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.5782, allocations: 0 / 1.066 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.5782, allocations: 0 / 1.066 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.5782, allocations: 11.92 kB / 1.066 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005814/0.5788, allocations: 433.2 kB / 1.066 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.5788, allocations: 8 kB / 1.066 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.5791, allocations: 39.97 kB / 1.067 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.373e-05/0.5791, allocations: 7.984 kB / 1.067 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.5791, allocations: 4 kB / 1.067 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.5792, allocations: 3.938 kB / 1.067 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5792, allocations: 0 / 1.067 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.5802, allocations: 0.5064 MB / 1.067 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.5803, allocations: 144.5 kB / 1.067 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.5804, allocations: 4 kB / 1.067 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.5806, allocations: 15.98 kB / 1.067 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.427e-05/0.5807, allocations: 11.98 kB / 1.067 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.5807, allocations: 16 kB / 1.067 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003538/0.5811, allocations: 287.1 kB / 1.067 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5811, allocations: 0 / 1.067 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003564/0.5814, allocations: 67.78 kB / 1.068 GB, free: 8.719 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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 Backend phase and start with SimCode phase: time 0.001242/0.5827, allocations: 1.036 MB / 1.069 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006414/0.5833, allocations: 257.4 kB / 1.069 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5834, allocations: 4 kB / 1.069 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002613/0.5836, allocations: 118.1 kB / 1.069 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008075/0.5844, allocations: 128.1 kB / 1.069 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/0.5997, allocations: 3.69 MB / 1.073 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.6002, allocations: 0.8193 MB / 1.073 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002663/0.6005, allocations: 51.25 kB / 1.074 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.6007, allocations: 147.4 kB / 1.074 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of SimCode: time 7.71e-07/0.6007, allocations: 0 / 1.074 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04195/0.6427, allocations: 7.747 MB / 1.081 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/0.6429, allocations: 255 kB / 1.081 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/3.138, allocations: 2.625 kB / 1.081 GB, free: 10.55 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)