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.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.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.00112/0.00112, allocations: 108 kB / 15.6 MB, free: 132 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.001125/0.001125, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.226/1.226, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.404/2.404, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 59.89 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4598/0.461, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003914/0.4649, allocations: 3.109 MB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.4667, allocations: 1.099 MB / 1.022 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003114/0.467, allocations: 15.94 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.4673, allocations: 91.06 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.4676, allocations: 103 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006498/0.4682, allocations: 335.3 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005172/0.4687, allocations: 0.6403 MB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003192/0.4691, allocations: 252.1 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.4693, allocations: 215 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.4695, allocations: 210.8 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.446e-05/0.4696, allocations: 52 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.976e-05/0.4696, allocations: 56 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.576e-05/0.4697, allocations: 107.6 kB / 1.024 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.4699, allocations: 242.5 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004725/0.4704, allocations: 0.6657 MB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4704, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4704, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.4704, allocations: 0 / 1.024 GB, free: 11.27 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.001088/0.4715, allocations: 0.8215 MB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.4715, allocations: 8.031 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.37e-05/0.4716, allocations: 66.67 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.878e-05/0.4717, allocations: 56.28 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006704/0.4723, allocations: 0.4944 MB / 1.026 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.4724, allocations: 29.03 kB / 1.026 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/0.4724, allocations: 28.38 kB / 1.026 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005594/0.473, allocations: 374.9 kB / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.473, allocations: 0 / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.473, allocations: 12 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.4731, allocations: 8 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005459/0.4736, allocations: 250 kB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.475, allocations: 1.444 MB / 1.028 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006345/0.4756, allocations: 267.9 kB / 1.028 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.4759, allocations: 138.6 kB / 1.028 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.4759, allocations: 11.97 kB / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.476, allocations: 34.5 kB / 1.028 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 1.292e-06/0.476, allocations: 7.938 kB / 1.028 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0008094/0.4768, allocations: 358.3 kB / 1.029 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.4768, allocations: 59.39 kB / 1.029 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003859/0.4772, allocations: 413.8 kB / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.4772, allocations: 29.7 kB / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.4774, allocations: 260.1 kB / 1.029 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/0.4775, allocations: 78.91 kB / 1.029 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.441e-05/0.4776, allocations: 57.89 kB / 1.03 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.4777, allocations: 354.8 kB / 1.03 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.4779, allocations: 96.5 kB / 1.03 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.4782, allocations: 168.7 kB / 1.03 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005009/0.4787, allocations: 268.8 kB / 1.03 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4787, allocations: 4 kB / 1.03 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006227/0.4793, allocations: 340.4 kB / 1.031 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.4794, allocations: 4 kB / 1.031 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4794, allocations: 4 kB / 1.031 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.4794, allocations: 4.25 kB / 1.031 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.4797, allocations: 67.89 kB / 1.031 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.4797, allocations: 4 kB / 1.031 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.4799, allocations: 39.61 kB / 1.031 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.4799, allocations: 8 kB / 1.031 GB, free: 4.348 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.0001539/0.4801, allocations: 169.8 kB / 1.031 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.4801, allocations: 43.44 kB / 1.031 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.32e-05/0.4802, allocations: 51.97 kB / 1.031 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4802, allocations: 4 kB / 1.031 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.4802, allocations: 0 / 1.031 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.4803, allocations: 3.938 kB / 1.031 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/0.4807, allocations: 441.2 kB / 1.032 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4807, allocations: 4 kB / 1.032 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.4809, allocations: 47.91 kB / 1.032 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.4809, allocations: 0 / 1.032 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.481, allocations: 7.938 kB / 1.032 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.481, allocations: 4 kB / 1.032 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.481, allocations: 4 kB / 1.032 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008426/0.4818, allocations: 0.5002 MB / 1.032 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.482, allocations: 136.6 kB / 1.032 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.482, allocations: 15.94 kB / 1.032 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.4822, allocations: 11.98 kB / 1.032 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.4823, allocations: 19.91 kB / 1.032 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.4823, allocations: 8 kB / 1.032 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002709/0.4826, allocations: 287.1 kB / 1.033 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4826, allocations: 0 / 1.033 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003037/0.4829, allocations: 67.75 kB / 1.033 GB, free: 2.461 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.001027/0.4839, allocations: 1.039 MB / 1.034 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005678/0.4845, allocations: 251.8 kB / 1.034 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4845, allocations: 0 / 1.034 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.4848, allocations: 128.2 kB / 1.034 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006583/0.4854, allocations: 141.5 kB / 1.034 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004169/0.4896, allocations: 3.546 MB / 1.038 GB, free: 13.21 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.4899, allocations: 0.8233 MB / 1.038 GB, free: 12.36 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002007/0.4901, allocations: 47.25 kB / 1.038 GB, free: 12.32 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.4903, allocations: 151.4 kB / 1.039 GB, free: 12.17 MB / 0.795 GB Notification: Performance of SimCode: time 3.61e-07/0.4903, allocations: 0 / 1.039 GB, free: 12.17 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.5154, allocations: 7.879 MB / 1.046 GB, free: 4.488 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.862/7.377, allocations: 11.44 kB / 1.046 GB, free: 4.48 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)