Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00119/0.00119, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001259/0.001259, allocations: 193.2 kB / 16.14 MB, free: 6.648 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.431/1.431, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.816/2.816, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 65.05 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3246, allocations: 157.4 MB / 1.052 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004807/0.3294, allocations: 3.145 MB / 1.055 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002275/0.3317, allocations: 1.068 MB / 1.056 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005769/0.3323, allocations: 15.94 kB / 1.056 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.3327, allocations: 67.39 kB / 1.056 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.333, allocations: 83.36 kB / 1.056 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007279/0.3337, allocations: 316.7 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005223/0.3342, allocations: 0.5817 MB / 1.057 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003552/0.3346, allocations: 242.2 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.3348, allocations: 178.9 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.335, allocations: 190.8 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/0.3351, allocations: 16 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.932e-05/0.3351, allocations: 24 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.119e-05/0.3352, allocations: 79.52 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.3354, allocations: 206.7 kB / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004987/0.3359, allocations: 0.6306 MB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.3359, allocations: 4 kB / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3359, allocations: 3.938 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.3359, allocations: 0 / 1.059 GB, free: 1.363 MB / 0.8106 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.001231/0.3371, allocations: 0.8137 MB / 1.06 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3372, allocations: 12.03 kB / 1.06 GB, free: 500 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.046e-05/0.3373, allocations: 66.72 kB / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.789e-05/0.3374, allocations: 60.28 kB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007584/0.3381, allocations: 0.506 MB / 1.06 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.3382, allocations: 21.03 kB / 1.06 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.3382, allocations: 24.38 kB / 1.06 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006271/0.3388, allocations: 378.9 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3389, allocations: 0 / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.3389, allocations: 12 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.3389, allocations: 8 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005591/0.3395, allocations: 258 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.341, allocations: 1.429 MB / 1.062 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006684/0.3417, allocations: 270.8 kB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.342, allocations: 138.5 kB / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.342, allocations: 7.984 kB / 1.063 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.342, allocations: 38.56 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 1.433e-06/0.342, allocations: 0 / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0008412/0.3429, allocations: 359.5 kB / 1.063 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.3429, allocations: 51.41 kB / 1.063 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004068/0.3433, allocations: 429.8 kB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.3434, allocations: 29.64 kB / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.3436, allocations: 256.1 kB / 1.064 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.459e-05/0.3436, allocations: 82.84 kB / 1.064 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.3437, allocations: 61.88 kB / 1.064 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3439, allocations: 350.8 kB / 1.064 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.3441, allocations: 92.5 kB / 1.064 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.3444, allocations: 164.8 kB / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/0.3449, allocations: 269.5 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3449, allocations: 0 / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006237/0.3456, allocations: 333.6 kB / 1.065 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3456, allocations: 12.03 kB / 1.065 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3456, allocations: 0 / 1.065 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3456, allocations: 4 kB / 1.065 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.3459, allocations: 67.89 kB / 1.065 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.3459, allocations: 7.984 kB / 1.065 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.3461, allocations: 27.77 kB / 1.065 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.3462, allocations: 16 kB / 1.065 GB, free: 10.45 MB / 0.8262 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.0001802/0.3463, allocations: 170.7 kB / 1.065 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.828e-05/0.3464, allocations: 47.44 kB / 1.066 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.003e-05/0.3465, allocations: 51.91 kB / 1.066 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3465, allocations: 0 / 1.066 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.3465, allocations: 4 kB / 1.066 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3465, allocations: 3.938 kB / 1.066 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004455/0.347, allocations: 437.2 kB / 1.066 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-06/0.347, allocations: 0 / 1.066 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.3473, allocations: 39.97 kB / 1.066 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3473, allocations: 8 kB / 1.066 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.3473, allocations: 11.98 kB / 1.066 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3473, allocations: 0 / 1.066 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3473, allocations: 0 / 1.066 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000908/0.3482, allocations: 0.5052 MB / 1.067 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.3484, allocations: 140.5 kB / 1.067 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.3484, allocations: 4 kB / 1.067 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.3486, allocations: 15.98 kB / 1.067 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.3487, allocations: 23.84 kB / 1.067 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.3487, allocations: 11.94 kB / 1.067 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002893/0.349, allocations: 287.1 kB / 1.067 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.349, allocations: 64 / 1.067 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003203/0.3494, allocations: 71.78 kB / 1.067 GB, free: 8.555 MB / 0.8262 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.001137/0.3505, allocations: 1.038 MB / 1.068 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005637/0.3511, allocations: 243.6 kB / 1.068 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3511, allocations: 0.5625 kB / 1.068 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.3513, allocations: 122.3 kB / 1.068 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007612/0.3521, allocations: 110.5 kB / 1.069 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005126/0.3572, allocations: 3.689 MB / 1.072 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.3576, allocations: 0.823 MB / 1.073 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002223/0.3579, allocations: 51.25 kB / 1.073 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.3581, allocations: 149.8 kB / 1.073 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of SimCode: time 7.51e-07/0.3581, allocations: 3.938 kB / 1.073 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.478/1.836, allocations: 7.558 MB / 1.081 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/1.837, allocations: 244.9 kB / 1.081 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.082/3.919, allocations: 8.453 kB / 1.081 GB, free: 10.57 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)