Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.951/1.951, allocations: 285.6 MB / 293.1 MB, free: 10.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 176.8 kB / 361.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.218/2.218, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001321/0.001321, allocations: 84.89 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.358e-05/4.361e-05, allocations: 4 kB / 0.8519 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118/1.118, allocations: 115.3 MB / 0.9645 GB, free: 79.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3878/1.506, allocations: 142.8 MB / 1.104 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004097/1.506, allocations: 105 kB / 1.104 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04118/1.548, allocations: 8.753 MB / 1.113 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.687e-06/1.548, allocations: 0 / 1.113 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001464/1.548, allocations: 11.94 kB / 1.113 GB, free: 4.285 MB / 0.7136 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.002539/1.551, allocations: 0.6748 MB / 1.113 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001212/1.551, allocations: 12.03 kB / 1.113 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004157/1.551, allocations: 63.3 kB / 1.113 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/1.553, allocations: 467.7 kB / 1.114 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/1.553, allocations: 12 kB / 1.114 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.13e-05/1.553, allocations: 20 kB / 1.114 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007813/1.554, allocations: 209.5 kB / 1.114 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009818/1.555, allocations: 343.3 kB / 1.114 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/1.555, allocations: 3.938 kB / 1.114 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.786e-05/1.555, allocations: 0 / 1.114 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/1.555, allocations: 8 kB / 1.114 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003265/1.558, allocations: 1.502 MB / 1.116 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007979/1.559, allocations: 263 kB / 1.116 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/1.56, allocations: 110.8 kB / 1.116 GB, free: 444 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.741e-05/1.56, allocations: 3.859 kB / 1.116 GB, free: 440 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/1.56, allocations: 38.5 kB / 1.116 GB, free: 392 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 2.474e-06/1.56, allocations: 4 kB / 1.116 GB, free: 388 kB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.000794/1.56, allocations: 251.6 kB / 1.116 GB, free: 132 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/1.561, allocations: 158.2 kB / 1.117 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000655/1.561, allocations: 341.2 kB / 1.117 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/1.561, allocations: 25.7 kB / 1.117 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/1.562, allocations: 256.5 kB / 1.117 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/1.562, allocations: 75.25 kB / 1.117 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/1.562, allocations: 3 kB / 1.117 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002911/1.562, allocations: 358.8 kB / 1.118 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/1.562, allocations: 80 kB / 1.118 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/1.563, allocations: 166.7 kB / 1.118 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/1.563, allocations: 111.8 kB / 1.118 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/1.563, allocations: 0 / 1.118 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007925/1.564, allocations: 283 kB / 1.118 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/1.564, allocations: 9.234 kB / 1.118 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/1.564, allocations: 8.188 kB / 1.118 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/1.564, allocations: 0 / 1.118 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005584/1.565, allocations: 71.89 kB / 1.118 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/1.565, allocations: 7.953 kB / 1.118 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004777/1.565, allocations: 43.81 kB / 1.118 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/1.565, allocations: 12 kB / 1.118 GB, free: 14.07 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001711/1.565, allocations: 108.9 kB / 1.118 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006864/1.566, allocations: 249 kB / 1.119 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/1.566, allocations: 43.44 kB / 1.119 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/1.566, allocations: 47.69 kB / 1.119 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/1.566, allocations: 3.953 kB / 1.119 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.566, allocations: 3.938 kB / 1.119 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/1.566, allocations: 8 kB / 1.119 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000815/1.567, allocations: 427.2 kB / 1.119 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.567, allocations: 0 / 1.119 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005549/1.568, allocations: 55.97 kB / 1.119 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/1.568, allocations: 0 / 1.119 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/1.568, allocations: 3.984 kB / 1.119 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.568, allocations: 0 / 1.119 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/1.568, allocations: 8 kB / 1.119 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/1.569, allocations: 485.6 kB / 1.12 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002694/1.569, allocations: 152.6 kB / 1.12 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.351e-05/1.57, allocations: 0 / 1.12 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005014/1.57, allocations: 28.73 kB / 1.12 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/1.57, allocations: 19.97 kB / 1.12 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/1.57, allocations: 4 kB / 1.12 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005374/1.571, allocations: 274.9 kB / 1.12 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.156e-06/1.571, allocations: 3.094 kB / 1.12 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006756/1.572, allocations: 75.62 kB / 1.12 GB, free: 12.03 MB / 0.7292 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001632/1.573, allocations: 1.022 MB / 1.121 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00068/1.574, allocations: 207.8 kB / 1.121 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.574, allocations: 3.938 kB / 1.121 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000306/1.574, allocations: 107.9 kB / 1.122 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/1.575, allocations: 112.8 kB / 1.122 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/1.578, allocations: 0.5732 MB / 1.122 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007184/1.578, allocations: 0.8304 MB / 1.123 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004186/1.579, allocations: 53.2 kB / 1.123 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/1.579, allocations: 152.4 kB / 1.123 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of SimCode: time 1.173e-06/1.579, allocations: 0 / 1.123 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04223/1.621, allocations: 7.662 MB / 1.131 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004194/1.622, allocations: 187 kB / 1.131 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.715/4.337, allocations: 2.812 kB / 1.131 GB, free: 1.23 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)