Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_10_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_10_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.001315/0.001314, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001739/0.00174, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.61/1.61, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.946/2.946, allocations: 437 MB / 0.7099 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.001261, allocations: 67.89 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076/1.078, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005662/1.083, allocations: 3.139 MB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002803/1.086, allocations: 1.068 MB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009214/1.087, allocations: 19.88 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005472/1.088, allocations: 59.45 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006056/1.088, allocations: 95.3 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009864/1.089, allocations: 316.5 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007147/1.09, allocations: 0.5739 MB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000415/1.091, allocations: 248 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/1.091, allocations: 183 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/1.091, allocations: 186.8 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.379e-05/1.091, allocations: 23.94 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.935e-05/1.091, allocations: 20 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.907e-05/1.091, allocations: 79.61 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001789/1.092, allocations: 202.6 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005552/1.092, allocations: 0.6306 MB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/1.092, allocations: 3.984 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.473e-06/1.092, allocations: 0 / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.356e-06/1.092, allocations: 4 kB / 1.023 GB, free: 11.96 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001415/1.094, allocations: 0.8176 MB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/1.094, allocations: 8.031 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.475e-05/1.094, allocations: 66.72 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.476e-05/1.094, allocations: 56.28 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008095/1.095, allocations: 0.4944 MB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/1.095, allocations: 24.97 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.314e-05/1.095, allocations: 40.28 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006684/1.095, allocations: 374.9 kB / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/1.095, allocations: 0 / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.65e-05/1.095, allocations: 12 kB / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/1.095, allocations: 4 kB / 1.025 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005839/1.096, allocations: 258 kB / 1.025 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/1.098, allocations: 1.436 MB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007072/1.098, allocations: 277 kB / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/1.099, allocations: 136.8 kB / 1.027 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/1.099, allocations: 3.938 kB / 1.027 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/1.099, allocations: 38.56 kB / 1.027 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 2.835e-06/1.099, allocations: 0 / 1.027 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0008818/1.1, allocations: 358.5 kB / 1.028 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/1.1, allocations: 55.41 kB / 1.028 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004563/1.1, allocations: 417.8 kB / 1.028 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/1.1, allocations: 29.7 kB / 1.028 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/1.1, allocations: 264.1 kB / 1.028 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/1.101, allocations: 74.89 kB / 1.028 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-05/1.101, allocations: 61.88 kB / 1.029 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001682/1.101, allocations: 354.8 kB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/1.101, allocations: 96.5 kB / 1.029 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/1.101, allocations: 168.6 kB / 1.029 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005133/1.102, allocations: 273 kB / 1.029 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.102, allocations: 4 kB / 1.029 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006281/1.103, allocations: 336.8 kB / 1.03 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/1.103, allocations: 4 kB / 1.03 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.103, allocations: 8.25 kB / 1.03 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/1.103, allocations: 4 kB / 1.03 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/1.103, allocations: 59.89 kB / 1.03 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/1.103, allocations: 4 kB / 1.03 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/1.103, allocations: 39.61 kB / 1.03 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/1.103, allocations: 12 kB / 1.03 GB, free: 5.035 MB / 0.7794 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.0001974/1.103, allocations: 169.8 kB / 1.03 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.43e-05/1.103, allocations: 47.44 kB / 1.03 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.847e-05/1.104, allocations: 47.97 kB / 1.03 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.104, allocations: 4 kB / 1.03 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.104, allocations: 0 / 1.03 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/1.104, allocations: 3.938 kB / 1.03 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004645/1.104, allocations: 433.2 kB / 1.031 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.104, allocations: 0 / 1.031 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/1.104, allocations: 51.91 kB / 1.031 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/1.104, allocations: 0 / 1.031 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/1.104, allocations: 11.98 kB / 1.031 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.104, allocations: 0 / 1.031 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.104, allocations: 0 / 1.031 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009/1.105, allocations: 0.5069 MB / 1.031 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/1.105, allocations: 140.5 kB / 1.031 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/1.105, allocations: 4 kB / 1.031 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/1.106, allocations: 11.98 kB / 1.031 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/1.106, allocations: 27.84 kB / 1.031 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/1.106, allocations: 4 kB / 1.031 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003137/1.106, allocations: 291.1 kB / 1.032 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/1.106, allocations: 0 / 1.032 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003037/1.106, allocations: 63.84 kB / 1.032 GB, free: 3.152 MB / 0.7794 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.001132/1.108, allocations: 1.049 MB / 1.033 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005627/1.108, allocations: 236.8 kB / 1.033 GB, free: 1.844 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.108, allocations: 3.938 kB / 1.033 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002515/1.108, allocations: 124.3 kB / 1.033 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007253/1.109, allocations: 118.6 kB / 1.033 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005271/1.114, allocations: 3.696 MB / 1.037 GB, free: 13.77 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/1.115, allocations: 0.8192 MB / 1.037 GB, free: 12.92 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002237/1.115, allocations: 55.17 kB / 1.038 GB, free: 12.87 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/1.115, allocations: 147.4 kB / 1.038 GB, free: 12.73 MB / 0.795 GB Notification: Performance of SimCode: time 3.7e-07/1.115, allocations: 0 / 1.038 GB, free: 12.73 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/1.149, allocations: 7.561 MB / 1.045 GB, free: 5.379 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/1.149, allocations: 238.7 kB / 1.045 GB, free: 5.125 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/3.416, allocations: 2.391 kB / 1.045 GB, free: 5.125 MB / 0.795 GB (rm -f Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_10_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)