Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_11_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_11_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.008087/0.008087, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.002229/0.002229, allocations: 195.3 kB / 16.67 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.602/1.602, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.876/2.876, allocations: 469.8 MB / 0.7425 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 63.91 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208/1.21, allocations: 159.1 MB / 1.22 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.006469/1.216, allocations: 3.115 MB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00313/1.219, allocations: 1.095 MB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007722/1.22, allocations: 19.94 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004764/1.221, allocations: 91.06 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006211/1.221, allocations: 103 kB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/1.223, allocations: 345.4 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0009843/1.224, allocations: 0.6364 MB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004603/1.224, allocations: 245.9 kB / 1.226 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/1.224, allocations: 219 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/1.225, allocations: 214.8 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.371e-05/1.225, allocations: 52 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.43e-05/1.225, allocations: 52 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/1.225, allocations: 107.6 kB / 1.226 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002386/1.225, allocations: 242.6 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008959/1.226, allocations: 0.6882 MB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/1.226, allocations: 4 kB / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.244e-06/1.226, allocations: 4 kB / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.074e-05/1.226, allocations: 0 / 1.227 GB, free: 10.79 MB / 0.9512 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.001505/1.228, allocations: 0.8367 MB / 1.228 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.228, allocations: 11.97 kB / 1.228 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.519e-05/1.228, allocations: 70.72 kB / 1.228 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/1.228, allocations: 64.52 kB / 1.228 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/1.229, allocations: 0.5065 MB / 1.229 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/1.229, allocations: 25.03 kB / 1.229 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.671e-05/1.229, allocations: 36.36 kB / 1.229 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007363/1.23, allocations: 370.9 kB / 1.229 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/1.23, allocations: 4 kB / 1.229 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/1.23, allocations: 8 kB / 1.229 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/1.23, allocations: 8 kB / 1.229 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006349/1.231, allocations: 254 kB / 1.229 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/1.233, allocations: 1.425 MB / 1.231 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007436/1.233, allocations: 266.9 kB / 1.231 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/1.234, allocations: 138.8 kB / 1.231 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/1.234, allocations: 7.984 kB / 1.231 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/1.234, allocations: 34.56 kB / 1.231 GB, free: 6.527 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 2.184e-06/1.234, allocations: 3.938 kB / 1.231 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.000985/1.235, allocations: 372.1 kB / 1.231 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/1.235, allocations: 51.41 kB / 1.232 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005293/1.235, allocations: 421.8 kB / 1.232 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/1.235, allocations: 29.7 kB / 1.232 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/1.236, allocations: 264.5 kB / 1.232 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.076e-05/1.236, allocations: 79.28 kB / 1.232 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/1.236, allocations: 61.92 kB / 1.232 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002194/1.236, allocations: 350.8 kB / 1.233 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/1.236, allocations: 96.5 kB / 1.233 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/1.237, allocations: 168.7 kB / 1.233 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005742/1.237, allocations: 275.3 kB / 1.233 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/1.237, allocations: 4 kB / 1.233 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007217/1.238, allocations: 339.2 kB / 1.234 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/1.238, allocations: 8 kB / 1.234 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.238, allocations: 4.25 kB / 1.234 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/1.238, allocations: 4 kB / 1.234 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/1.238, allocations: 63.89 kB / 1.234 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/1.238, allocations: 4 kB / 1.234 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/1.239, allocations: 31.77 kB / 1.234 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/1.239, allocations: 12 kB / 1.234 GB, free: 3.832 MB / 0.9512 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.0002319/1.239, allocations: 186.4 kB / 1.234 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.573e-05/1.239, allocations: 43.72 kB / 1.234 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/1.239, allocations: 47.98 kB / 1.234 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.239, allocations: 0 / 1.234 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.239, allocations: 0 / 1.234 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/1.239, allocations: 11.92 kB / 1.234 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005534/1.24, allocations: 429.2 kB / 1.234 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.24, allocations: 4 kB / 1.234 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/1.24, allocations: 47.91 kB / 1.234 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/1.24, allocations: 4 kB / 1.234 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/1.24, allocations: 7.984 kB / 1.234 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/1.24, allocations: 0 / 1.234 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.24, allocations: 0 / 1.234 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/1.241, allocations: 0.497 MB / 1.235 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/1.241, allocations: 144.8 kB / 1.235 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/1.241, allocations: 7.922 kB / 1.235 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/1.241, allocations: 15.98 kB / 1.235 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/1.241, allocations: 15.92 kB / 1.235 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/1.241, allocations: 8 kB / 1.235 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003633/1.242, allocations: 295.1 kB / 1.235 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.242, allocations: 0 / 1.235 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003262/1.242, allocations: 67.78 kB / 1.235 GB, free: 1.93 MB / 0.9512 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.001425/1.244, allocations: 1.047 MB / 1.236 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006254/1.244, allocations: 241.6 kB / 1.237 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.244, allocations: 0 / 1.237 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002795/1.245, allocations: 124.4 kB / 1.237 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007117/1.245, allocations: 125.5 kB / 1.237 GB, free: 400 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005418/1.251, allocations: 3.512 MB / 1.24 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006218/1.251, allocations: 0.8194 MB / 1.241 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000233/1.252, allocations: 51.25 kB / 1.241 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/1.252, allocations: 147.4 kB / 1.241 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of SimCode: time 9.62e-07/1.252, allocations: 0 / 1.241 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.682/1.934, allocations: 8.027 MB / 1.249 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.514/11.45, allocations: 10.14 kB / 1.249 GB, free: 3.875 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_11_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)