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.001228/0.001228, 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.001226/0.001226, allocations: 192.5 kB / 16.25 MB, free: 6.637 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.202/1.202, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.256/2.256, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 63.91 kB / 0.8689 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4656/0.4667, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003635/0.4704, allocations: 3.139 MB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.4718, allocations: 1.068 MB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/0.472, allocations: 19.88 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001999/0.4722, allocations: 75.38 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.4724, allocations: 79.38 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005535/0.473, allocations: 315.2 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005062/0.4735, allocations: 0.6325 MB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003206/0.4738, allocations: 252.1 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.474, allocations: 226.8 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.4742, allocations: 206.8 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.723e-05/0.4743, allocations: 52 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.483e-05/0.4744, allocations: 56 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.083e-05/0.4744, allocations: 107.6 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.4746, allocations: 238.6 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004667/0.4751, allocations: 0.6657 MB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.4751, allocations: 0 / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4751, allocations: 4 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.4751, allocations: 0 / 1.024 GB, free: 11.59 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.001053/0.4762, allocations: 0.8176 MB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.4762, allocations: 8.031 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.225e-05/0.4763, allocations: 62.72 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.341e-05/0.4763, allocations: 56.28 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006432/0.477, allocations: 0.4983 MB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.477, allocations: 24.97 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.4771, allocations: 32.38 kB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005624/0.4776, allocations: 374.9 kB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.4777, allocations: 0 / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.4777, allocations: 16 kB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.4777, allocations: 8 kB / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005305/0.4782, allocations: 254 kB / 1.026 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.4796, allocations: 1.44 MB / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000605/0.4802, allocations: 262.8 kB / 1.028 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/0.4805, allocations: 142 kB / 1.028 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.4805, allocations: 4 kB / 1.028 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.4805, allocations: 34.56 kB / 1.028 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 2.445e-06/0.4805, allocations: 7.938 kB / 1.028 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.000768/0.4813, allocations: 360.8 kB / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.4813, allocations: 55.41 kB / 1.028 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000376/0.4817, allocations: 421.8 kB / 1.029 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.4817, allocations: 29.7 kB / 1.029 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.4819, allocations: 260.1 kB / 1.029 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/0.482, allocations: 74.89 kB / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.567e-05/0.4821, allocations: 61.89 kB / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4822, allocations: 358.8 kB / 1.029 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.4824, allocations: 92.52 kB / 1.029 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.4827, allocations: 172.6 kB / 1.03 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004754/0.4831, allocations: 269 kB / 1.03 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4832, allocations: 4 kB / 1.03 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005792/0.4837, allocations: 336.8 kB / 1.03 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.4838, allocations: 4 kB / 1.03 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.4838, allocations: 7.984 kB / 1.03 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.4838, allocations: 4 kB / 1.03 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.484, allocations: 56.16 kB / 1.03 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.4841, allocations: 8 kB / 1.03 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.4842, allocations: 39.61 kB / 1.03 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.4843, allocations: 19.98 kB / 1.03 GB, free: 4.66 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.0001544/0.4844, allocations: 169.8 kB / 1.03 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.797e-05/0.4845, allocations: 43.44 kB / 1.031 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.046e-05/0.4846, allocations: 47.97 kB / 1.031 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.4846, allocations: 4 kB / 1.031 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.4846, allocations: 4 kB / 1.031 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.4846, allocations: 3.938 kB / 1.031 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.485, allocations: 429.2 kB / 1.031 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.485, allocations: 0 / 1.031 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.4853, allocations: 55.89 kB / 1.031 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4853, allocations: 0 / 1.031 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.4853, allocations: 3.984 kB / 1.031 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.4853, allocations: 4 kB / 1.031 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4853, allocations: 0 / 1.031 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008145/0.4861, allocations: 0.5056 MB / 1.032 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.4862, allocations: 136.6 kB / 1.032 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.4863, allocations: 7.938 kB / 1.032 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.4865, allocations: 16.05 kB / 1.032 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.4865, allocations: 23.86 kB / 1.032 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.4866, allocations: 7.984 kB / 1.032 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002667/0.4868, allocations: 291.1 kB / 1.032 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4868, allocations: 0 / 1.032 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002861/0.4871, allocations: 63.75 kB / 1.032 GB, free: 2.781 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.0009974/0.4881, allocations: 1.044 MB / 1.033 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005402/0.4887, allocations: 249.5 kB / 1.033 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4887, allocations: 0 / 1.033 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.4889, allocations: 131.6 kB / 1.033 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006049/0.4895, allocations: 135.3 kB / 1.034 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004559/0.4941, allocations: 3.693 MB / 1.037 GB, free: 13.38 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.4944, allocations: 0.8194 MB / 1.038 GB, free: 12.54 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001813/0.4946, allocations: 51.25 kB / 1.038 GB, free: 12.49 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.4948, allocations: 147.4 kB / 1.038 GB, free: 12.35 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.4948, allocations: 0 / 1.038 GB, free: 12.35 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.5124, allocations: 7.728 MB / 1.046 GB, free: 4.852 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/0.5126, allocations: 237.6 kB / 1.046 GB, free: 4.598 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/2.066, allocations: 0 / 1.046 GB, free: 4.598 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)