Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.692/1.692, allocations: 289.9 MB / 297.4 MB, free: 6.297 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.001464/0.001464, allocations: 180.9 kB / 366.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0008642/0.0008642, allocations: 93.47 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.641e-05/1.644e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8/0.8001, allocations: 116.3 MB / 0.9734 GB, free: 76.06 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.223/1.023, allocations: 143.7 MB / 1.114 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/1.023, allocations: 96.67 kB / 1.114 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02439/1.048, allocations: 8.762 MB / 1.122 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.016e-06/1.048, allocations: 4 kB / 1.122 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.574e-05/1.048, allocations: 12 kB / 1.122 GB, free: 13.54 MB / 0.7292 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.001381/1.049, allocations: 0.6763 MB / 1.123 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/1.049, allocations: 12.69 kB / 1.123 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002635/1.05, allocations: 59.3 kB / 1.123 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009422/1.051, allocations: 483.6 kB / 1.124 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/1.051, allocations: 8 kB / 1.124 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/1.051, allocations: 23.98 kB / 1.124 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004838/1.051, allocations: 213.5 kB / 1.124 GB, free: 12 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005976/1.052, allocations: 332.7 kB / 1.124 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/1.052, allocations: 6.906 kB / 1.124 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/1.052, allocations: 4 kB / 1.124 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/1.052, allocations: 4 kB / 1.124 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/1.054, allocations: 1.498 MB / 1.126 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005599/1.055, allocations: 259 kB / 1.126 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/1.055, allocations: 111.8 kB / 1.126 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/1.055, allocations: 7.859 kB / 1.126 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/1.055, allocations: 34.56 kB / 1.126 GB, free: 9.641 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=23): time 2.815e-06/1.055, allocations: 0 / 1.126 GB, free: 9.641 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.0005342/1.056, allocations: 250.2 kB / 1.126 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/1.056, allocations: 158.2 kB / 1.126 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004792/1.056, allocations: 345.2 kB / 1.127 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/1.056, allocations: 25.7 kB / 1.127 GB, free: 8.824 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/1.057, allocations: 256.5 kB / 1.127 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.358e-05/1.057, allocations: 79.25 kB / 1.127 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/1.057, allocations: 0 / 1.127 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001774/1.057, allocations: 354.8 kB / 1.127 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/1.057, allocations: 80 kB / 1.127 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/1.057, allocations: 170.7 kB / 1.128 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/1.058, allocations: 105.9 kB / 1.128 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.058, allocations: 0 / 1.128 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005112/1.058, allocations: 285 kB / 1.128 GB, free: 7.473 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/1.058, allocations: 4 kB / 1.128 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/1.058, allocations: 4 kB / 1.128 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/1.058, allocations: 4 kB / 1.128 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/1.058, allocations: 72.08 kB / 1.128 GB, free: 7.391 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/1.058, allocations: 7.953 kB / 1.128 GB, free: 7.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/1.059, allocations: 39.81 kB / 1.128 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/1.059, allocations: 12 kB / 1.128 GB, free: 7.332 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.0001352/1.059, allocations: 121.7 kB / 1.128 GB, free: 7.211 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004163/1.059, allocations: 250.8 kB / 1.129 GB, free: 6.961 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-05/1.06, allocations: 43.48 kB / 1.129 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/1.06, allocations: 51.67 kB / 1.129 GB, free: 6.867 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/1.06, allocations: 7.953 kB / 1.129 GB, free: 6.859 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.06, allocations: 0 / 1.129 GB, free: 6.859 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/1.06, allocations: 0 / 1.129 GB, free: 6.859 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005385/1.06, allocations: 425.8 kB / 1.129 GB, free: 6.406 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.06, allocations: 0 / 1.129 GB, free: 6.406 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/1.061, allocations: 71.08 kB / 1.129 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/1.061, allocations: 0 / 1.129 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/1.061, allocations: 0 / 1.129 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/1.061, allocations: 4 kB / 1.129 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/1.061, allocations: 0 / 1.129 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006953/1.061, allocations: 489 kB / 1.13 GB, free: 5.844 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/1.062, allocations: 148.6 kB / 1.13 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.804e-05/1.062, allocations: 4 kB / 1.13 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/1.062, allocations: 31.97 kB / 1.13 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/1.062, allocations: 11.92 kB / 1.13 GB, free: 5.633 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/1.062, allocations: 7.984 kB / 1.13 GB, free: 5.625 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003335/1.062, allocations: 275 kB / 1.13 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.883e-06/1.062, allocations: 0 / 1.13 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000379/1.063, allocations: 75.62 kB / 1.13 GB, free: 5.285 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.001044/1.064, allocations: 1.02 MB / 1.131 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004248/1.064, allocations: 212.9 kB / 1.131 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/1.064, allocations: 4 kB / 1.131 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002042/1.064, allocations: 109.1 kB / 1.131 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006936/1.065, allocations: 97.73 kB / 1.131 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/1.067, allocations: 0.5893 MB / 1.132 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/1.067, allocations: 0.8265 MB / 1.133 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002736/1.067, allocations: 54.94 kB / 1.133 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/1.068, allocations: 151.4 kB / 1.133 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of SimCode: time 3.71e-07/1.068, allocations: 0 / 1.133 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03231/1.1, allocations: 7.64 MB / 1.141 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/1.1, allocations: 182.7 kB / 1.141 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/3.44, allocations: 1.125 kB / 1.141 GB, free: 10.48 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)