Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.507/1.507, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001072, allocations: 174.9 kB / 326.6 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.266/2.266, allocations: 205.4 MB / 0.5777 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009921/0.0009922, allocations: 92.22 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004198/0.0004199, allocations: 8 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2693, allocations: 106.4 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.002897/0.2723, allocations: 2.565 MB / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001875/0.2742, allocations: 1.069 MB / 0.9039 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.2745, allocations: 19.88 kB / 0.9039 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.2747, allocations: 43.58 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.2748, allocations: 59.45 kB / 0.904 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005883/0.2754, allocations: 224.2 kB / 0.9042 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.2758, allocations: 416.1 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.276, allocations: 106.8 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.2762, allocations: 119.3 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.2764, allocations: 107.3 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.2764, allocations: 8 kB / 0.9049 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.203e-05/0.2764, allocations: 8 kB / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.648e-05/0.2765, allocations: 43.7 kB / 0.905 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.149e-05/0.2765, allocations: 81.52 kB / 0.9051 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.2768, allocations: 355.3 kB / 0.9054 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.2768, allocations: 0 / 0.9054 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.035e-06/0.2768, allocations: 0 / 0.9054 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2768, allocations: 0 / 0.9054 GB, free: 58.58 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0009138/0.2778, allocations: 0.6347 MB / 0.906 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.2778, allocations: 8.031 kB / 0.906 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.724e-05/0.2779, allocations: 50.55 kB / 0.9061 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.063e-05/0.278, allocations: 51.39 kB / 0.9061 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005528/0.2785, allocations: 401.4 kB / 0.9065 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.2786, allocations: 12.44 kB / 0.9065 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.2786, allocations: 20 kB / 0.9065 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004547/0.279, allocations: 260.2 kB / 0.9068 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2791, allocations: 0 / 0.9068 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.2791, allocations: 8 kB / 0.9068 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.2791, allocations: 8 kB / 0.9068 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004466/0.2796, allocations: 188.9 kB / 0.907 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.2806, allocations: 0.9647 MB / 0.9079 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.2811, allocations: 162.4 kB / 0.9081 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.2813, allocations: 85 kB / 0.9082 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.2813, allocations: 0 / 0.9082 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.2813, allocations: 38.55 kB / 0.9082 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.2813, allocations: 4 kB / 0.9082 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0006913/0.282, allocations: 262.1 kB / 0.9084 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.2821, allocations: 51.41 kB / 0.9085 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.2824, allocations: 337.6 kB / 0.9088 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.2824, allocations: 25.7 kB / 0.9088 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.2825, allocations: 212 kB / 0.909 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.2826, allocations: 51.28 kB / 0.9091 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-06/0.2826, allocations: 4 kB / 0.9091 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.147e-05/0.2827, allocations: 346.8 kB / 0.9094 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.2828, allocations: 63.95 kB / 0.9095 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.2831, allocations: 117.9 kB / 0.9096 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.2833, allocations: 77.72 kB / 0.9097 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2833, allocations: 0 / 0.9097 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004854/0.2838, allocations: 245 kB / 0.9099 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.2838, allocations: 4 kB / 0.9099 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2838, allocations: 4 kB / 0.9099 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.2838, allocations: 4 kB / 0.9099 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.2841, allocations: 44.16 kB / 0.91 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.2841, allocations: 11.94 kB / 0.91 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.2842, allocations: 23.83 kB / 0.91 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.2843, allocations: 8 kB / 0.91 GB, free: 53.57 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001412/0.2844, allocations: 153.8 kB / 0.9101 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.562e-05/0.2845, allocations: 35.53 kB / 0.9102 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.701e-05/0.2845, allocations: 31.12 kB / 0.9102 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2845, allocations: 8 kB / 0.9102 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2846, allocations: 0 / 0.9102 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2846, allocations: 0 / 0.9102 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.2849, allocations: 337.4 kB / 0.9105 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2849, allocations: 0 / 0.9105 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.285, allocations: 43.78 kB / 0.9106 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.285, allocations: 0 / 0.9106 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.2851, allocations: 4 kB / 0.9106 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2851, allocations: 0 / 0.9106 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2851, allocations: 4 kB / 0.9106 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004489/0.2855, allocations: 304.7 kB / 0.9109 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.105e-05/0.2856, allocations: 128.5 kB / 0.911 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.2857, allocations: 0 / 0.911 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.2858, allocations: 11.98 kB / 0.911 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.2859, allocations: 15.92 kB / 0.911 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.2859, allocations: 4 kB / 0.911 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001941/0.2861, allocations: 235.2 kB / 0.9113 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2861, allocations: 4 kB / 0.9113 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002679/0.2864, allocations: 43.84 kB / 0.9113 GB, free: 52.14 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (13): * Single equations (assignments): 13 * 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.0006139/0.287, allocations: 0.8329 MB / 0.9121 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004306/0.2874, allocations: 171.9 kB / 0.9123 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2875, allocations: 0 / 0.9123 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.2877, allocations: 76.14 kB / 0.9124 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000598/0.2883, allocations: 84.53 kB / 0.9124 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.2909, allocations: 1.708 MB / 0.9141 GB, free: 49.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.2911, allocations: 0.7716 MB / 0.9149 GB, free: 48.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000165/0.2913, allocations: 30.97 kB / 0.9149 GB, free: 48.37 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.2914, allocations: 103.4 kB / 0.915 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of SimCode: time 9.62e-07/0.2914, allocations: 7.938 kB / 0.915 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.3101, allocations: 5.578 MB / 0.9204 GB, free: 42.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/0.3104, allocations: 239.9 kB / 0.9207 GB, free: 42.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.222/2.532, allocations: 2.953 kB / 0.9207 GB, free: 42.7 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)