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 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.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.006674/0.006674, allocations: 104 kB / 15.74 MB, free: 6.066 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.001668/0.001668, allocations: 194.6 kB / 16.68 MB, free: 5.973 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.625/2.625, allocations: 482.7 MB / 0.7551 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 63.86 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.346, allocations: 162.3 MB / 1.242 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004314/0.3504, allocations: 3.115 MB / 1.245 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00183/0.3523, allocations: 1.099 MB / 1.246 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.3525, allocations: 15.94 kB / 1.246 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.3528, allocations: 91.06 kB / 1.246 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.353, allocations: 99.05 kB / 1.246 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006697/0.3537, allocations: 345.8 kB / 1.246 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006194/0.3543, allocations: 0.6364 MB / 1.247 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/0.3547, allocations: 254 kB / 1.247 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.355, allocations: 215 kB / 1.248 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.3552, allocations: 218.8 kB / 1.248 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.628e-05/0.3553, allocations: 52 kB / 1.248 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.908e-05/0.3554, allocations: 52 kB / 1.248 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.519e-05/0.3555, allocations: 111.6 kB / 1.248 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.3557, allocations: 242.6 kB / 1.248 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006654/0.3564, allocations: 0.6847 MB / 1.249 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3564, allocations: 0 / 1.249 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3564, allocations: 0 / 1.249 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.3564, allocations: 0 / 1.249 GB, free: 1.707 MB / 0.9669 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.001268/0.3577, allocations: 0.8406 MB / 1.25 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3577, allocations: 12.03 kB / 1.25 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.437e-05/0.3578, allocations: 78.66 kB / 1.25 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.679e-05/0.3579, allocations: 60.56 kB / 1.25 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008372/0.3587, allocations: 0.5065 MB / 1.25 GB, free: 116 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.3588, allocations: 25.03 kB / 1.25 GB, free: 92 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.272e-05/0.3588, allocations: 32.36 kB / 1.25 GB, free: 60 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006479/0.3595, allocations: 375 kB / 1.251 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3595, allocations: 0 / 1.251 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.3595, allocations: 12 kB / 1.251 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.3595, allocations: 4 kB / 1.251 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005918/0.3601, allocations: 258 kB / 1.251 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.3617, allocations: 1.425 MB / 1.252 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006781/0.3624, allocations: 268.8 kB / 1.253 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/0.3627, allocations: 136.8 kB / 1.253 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.3627, allocations: 7.984 kB / 1.253 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.3628, allocations: 34.5 kB / 1.253 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 1.262e-06/0.3628, allocations: 0 / 1.253 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0008792/0.3637, allocations: 371.2 kB / 1.253 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.3637, allocations: 51.41 kB / 1.253 GB, free: 13 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004478/0.3642, allocations: 421.8 kB / 1.254 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.3642, allocations: 29.7 kB / 1.254 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.3644, allocations: 264.4 kB / 1.254 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/0.3645, allocations: 79.34 kB / 1.254 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.927e-05/0.3646, allocations: 57.97 kB / 1.254 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3647, allocations: 346.8 kB / 1.254 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.365, allocations: 100.4 kB / 1.254 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.3653, allocations: 172.7 kB / 1.255 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005361/0.3658, allocations: 267 kB / 1.255 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3658, allocations: 4 kB / 1.255 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006643/0.3665, allocations: 341 kB / 1.255 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3665, allocations: 8 kB / 1.255 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3666, allocations: 4.25 kB / 1.255 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3666, allocations: 4 kB / 1.255 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.3668, allocations: 67.89 kB / 1.255 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.3669, allocations: 4 kB / 1.255 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.3671, allocations: 35.75 kB / 1.255 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.3671, allocations: 8 kB / 1.255 GB, free: 10.75 MB / 0.9825 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.0001862/0.3673, allocations: 174.3 kB / 1.255 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.3673, allocations: 47.67 kB / 1.256 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.777e-05/0.3675, allocations: 47.98 kB / 1.256 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3675, allocations: 3.984 kB / 1.256 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3675, allocations: 4 kB / 1.256 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3675, allocations: 7.922 kB / 1.256 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004715/0.368, allocations: 437.2 kB / 1.256 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.368, allocations: 0 / 1.256 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.3682, allocations: 43.91 kB / 1.256 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3682, allocations: 8 kB / 1.256 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.3683, allocations: 11.98 kB / 1.256 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3683, allocations: 0 / 1.256 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3683, allocations: 4 kB / 1.256 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009122/0.3692, allocations: 0.4929 MB / 1.257 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.3693, allocations: 148.8 kB / 1.257 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.3694, allocations: 4 kB / 1.257 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.3696, allocations: 15.98 kB / 1.257 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.3696, allocations: 15.92 kB / 1.257 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.3697, allocations: 8 kB / 1.257 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003076/0.37, allocations: 287.1 kB / 1.257 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.37, allocations: 0 / 1.257 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003064/0.3703, allocations: 67.84 kB / 1.257 GB, free: 8.848 MB / 0.9825 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.001211/0.3715, allocations: 1.049 MB / 1.258 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005726/0.3721, allocations: 239.6 kB / 1.258 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3721, allocations: 7.875 kB / 1.258 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000267/0.3724, allocations: 128.4 kB / 1.258 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006421/0.373, allocations: 117.1 kB / 1.259 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004669/0.3777, allocations: 3.512 MB / 1.262 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.3781, allocations: 0.8194 MB / 1.263 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001874/0.3783, allocations: 51.25 kB / 1.263 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.3786, allocations: 147.4 kB / 1.263 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.3786, allocations: 0 / 1.263 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03244/0.411, allocations: 8.023 MB / 1.271 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/8.577, allocations: 11.22 kB / 1.271 GB, free: 10.82 MB / 0.9981 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=400 --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)