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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, 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.001087/0.001087, allocations: 197.1 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.137/1.137, allocations: 205.1 MB / 222.4 MB, free: 4.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 57.34/57.34, allocations: 292.3 MB / 0.5489 GB, free: 12.81 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 65.52 kB / 0.6716 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2485, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005067/0.2536, allocations: 3.133 MB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002602/0.2563, allocations: 1.131 MB / 0.7876 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006111/0.2569, allocations: 23.88 kB / 0.7877 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003281/0.2573, allocations: 91.12 kB / 0.7878 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004726/0.2578, allocations: 95.06 kB / 0.7878 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008437/0.2586, allocations: 344 kB / 0.7882 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006541/0.2593, allocations: 0.6364 MB / 0.7888 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003596/0.2597, allocations: 254.1 kB / 0.789 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.2599, allocations: 219 kB / 0.7892 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.2602, allocations: 210.8 kB / 0.7895 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.075e-05/0.2602, allocations: 52 kB / 0.7895 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.2603, allocations: 56 kB / 0.7896 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.899e-05/0.2604, allocations: 111.5 kB / 0.7897 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.2606, allocations: 234.6 kB / 0.7899 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005915/0.2612, allocations: 0.6618 MB / 0.7905 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2612, allocations: 0 / 0.7905 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2612, allocations: 0 / 0.7905 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.2612, allocations: 0 / 0.7905 GB, free: 6.125 MB / 0.6075 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.001265/0.2625, allocations: 0.8254 MB / 0.7913 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.2626, allocations: 8.031 kB / 0.7913 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.809e-05/0.2626, allocations: 62.72 kB / 0.7914 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.911e-05/0.2627, allocations: 64.19 kB / 0.7915 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007044/0.2634, allocations: 0.4983 MB / 0.792 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.2635, allocations: 21.03 kB / 0.792 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.2635, allocations: 32.38 kB / 0.792 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005708/0.2641, allocations: 370.9 kB / 0.7924 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.2641, allocations: 7.938 kB / 0.7924 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.2642, allocations: 11.94 kB / 0.7924 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.2642, allocations: 12 kB / 0.7924 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005778/0.2648, allocations: 258 kB / 0.7926 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.2662, allocations: 1.436 MB / 0.794 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006281/0.2669, allocations: 265.7 kB / 0.7943 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.2672, allocations: 139.5 kB / 0.7944 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.2672, allocations: 8 kB / 0.7944 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.2672, allocations: 38.56 kB / 0.7945 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.243e-06/0.2672, allocations: 0 / 0.7945 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0008442/0.2681, allocations: 360.6 kB / 0.7948 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.2681, allocations: 59.41 kB / 0.7949 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004217/0.2686, allocations: 413.9 kB / 0.7953 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.2686, allocations: 29.7 kB / 0.7953 GB, free: 1 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.2688, allocations: 260.1 kB / 0.7955 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/0.2688, allocations: 82.73 kB / 0.7956 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.953e-05/0.2689, allocations: 57.97 kB / 0.7957 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2691, allocations: 354.8 kB / 0.796 GB, free: 244 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.2693, allocations: 100.5 kB / 0.7961 GB, free: 144 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.2696, allocations: 152.8 kB / 0.7963 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005114/0.2701, allocations: 271.5 kB / 0.7965 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2701, allocations: 4 kB / 0.7965 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006488/0.2708, allocations: 340.8 kB / 0.7968 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.2708, allocations: 4 kB / 0.7968 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.2708, allocations: 4 kB / 0.7968 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2709, allocations: 4 kB / 0.7969 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.2711, allocations: 59.89 kB / 0.7969 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.2711, allocations: 7.938 kB / 0.7969 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.2713, allocations: 35.92 kB / 0.7969 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.2714, allocations: 16 kB / 0.797 GB, free: 15.2 MB / 0.6231 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.0001752/0.2715, allocations: 173.7 kB / 0.7971 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.2716, allocations: 43.47 kB / 0.7972 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.155e-05/0.2717, allocations: 47.97 kB / 0.7972 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.2717, allocations: 4 kB / 0.7972 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2717, allocations: 3.938 kB / 0.7972 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.2717, allocations: 3.938 kB / 0.7972 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.2722, allocations: 429.3 kB / 0.7976 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2722, allocations: 4 kB / 0.7976 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.2724, allocations: 47.97 kB / 0.7977 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2725, allocations: 0 / 0.7977 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.2725, allocations: 4 kB / 0.7977 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.2725, allocations: 7.922 kB / 0.7977 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2725, allocations: 0 / 0.7977 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008554/0.2734, allocations: 0.4989 MB / 0.7982 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.2735, allocations: 140.5 kB / 0.7983 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.2736, allocations: 8 kB / 0.7983 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.2737, allocations: 11.98 kB / 0.7983 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.2738, allocations: 23.91 kB / 0.7984 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.2738, allocations: 4.062 kB / 0.7984 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002797/0.2741, allocations: 295.1 kB / 0.7986 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2741, allocations: 0 / 0.7986 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003318/0.2745, allocations: 67.69 kB / 0.7987 GB, free: 13.32 MB / 0.6231 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.001097/0.2756, allocations: 1.043 MB / 0.7997 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005827/0.2762, allocations: 264 kB / 0.8 GB, free: 12 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2762, allocations: 0 / 0.8 GB, free: 12 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.2764, allocations: 119.9 kB / 0.8001 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000699/0.2771, allocations: 121.8 kB / 0.8002 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004485/0.2816, allocations: 3.556 MB / 0.8037 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.282, allocations: 0.8192 MB / 0.8045 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002135/0.2822, allocations: 55.25 kB / 0.8045 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.2824, allocations: 147.4 kB / 0.8047 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of SimCode: time 3.61e-07/0.2825, allocations: 4 kB / 0.8047 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03923/0.3217, allocations: 7.899 MB / 0.8124 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.937/7.259, allocations: 20.58 kB / 0.8124 GB, free: 15.31 MB / 0.6387 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/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)