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: translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, 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.00124/0.00124, allocations: 192.3 kB / 16.13 MB, free: 6.699 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.359/1.359, allocations: 205.1 MB / 222 MB, free: 4.676 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 1.685/1.685, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001359/0.001359, allocations: 62.94 kB / 0.6708 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2143, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004279/0.2187, allocations: 3.14 MB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001798/0.2205, allocations: 1.111 MB / 0.7868 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002535/0.2208, allocations: 19.88 kB / 0.7869 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.221, allocations: 71.44 kB / 0.7869 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.2213, allocations: 87.3 kB / 0.787 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006315/0.2219, allocations: 311.2 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005373/0.2225, allocations: 0.5816 MB / 0.7879 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003433/0.2228, allocations: 250.1 kB / 0.7881 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.2231, allocations: 179 kB / 0.7883 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.2233, allocations: 182.8 kB / 0.7885 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.481e-05/0.2233, allocations: 23.98 kB / 0.7885 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.47e-05/0.2234, allocations: 27.94 kB / 0.7885 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.2235, allocations: 71.62 kB / 0.7886 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.2236, allocations: 210.6 kB / 0.7888 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004957/0.2241, allocations: 0.6307 MB / 0.7894 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2241, allocations: 0 / 0.7894 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.81e-07/0.2241, allocations: 0 / 0.7894 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.473e-06/0.2242, allocations: 0 / 0.7894 GB, free: 7.086 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.001228/0.2254, allocations: 0.8176 MB / 0.7902 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2254, allocations: 12.03 kB / 0.7902 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.781e-05/0.2255, allocations: 60.17 kB / 0.7903 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007146/0.2263, allocations: 0.5022 MB / 0.7908 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.2263, allocations: 21.03 kB / 0.7908 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.2263, allocations: 28.38 kB / 0.7908 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006452/0.227, allocations: 379.1 kB / 0.7912 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.227, allocations: 4 kB / 0.7912 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.2271, allocations: 8 kB / 0.7912 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.2271, allocations: 8 kB / 0.7912 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005561/0.2276, allocations: 246.1 kB / 0.7914 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.2292, allocations: 1.44 MB / 0.7928 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006545/0.2298, allocations: 266.8 kB / 0.7931 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.2301, allocations: 144.8 kB / 0.7932 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.2302, allocations: 0 / 0.7932 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.2302, allocations: 34.56 kB / 0.7932 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 2.735e-06/0.2302, allocations: 7.984 kB / 0.7933 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0008577/0.2311, allocations: 367.5 kB / 0.7936 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.2311, allocations: 55.41 kB / 0.7937 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004113/0.2315, allocations: 406 kB / 0.794 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.2316, allocations: 33.7 kB / 0.7941 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.2318, allocations: 264 kB / 0.7943 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.208e-05/0.2318, allocations: 86.73 kB / 0.7944 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.436e-05/0.2319, allocations: 57.97 kB / 0.7945 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2321, allocations: 358.7 kB / 0.7948 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.2323, allocations: 92.5 kB / 0.7949 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.2326, allocations: 160.7 kB / 0.7951 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004961/0.2331, allocations: 271.5 kB / 0.7953 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2331, allocations: 4 kB / 0.7953 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006258/0.2338, allocations: 336.7 kB / 0.7956 GB, free: 376 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2338, allocations: 6.906 kB / 0.7956 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2338, allocations: 8 kB / 0.7956 GB, free: 364 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.2338, allocations: 4 kB / 0.7957 GB, free: 360 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.2341, allocations: 63.89 kB / 0.7957 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.2341, allocations: 4 kB / 0.7957 GB, free: 292 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.2343, allocations: 35.67 kB / 0.7958 GB, free: 256 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.2344, allocations: 8 kB / 0.7958 GB, free: 248 kB / 0.6075 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.0001883/0.2346, allocations: 169.8 kB / 0.7959 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.2346, allocations: 43.53 kB / 0.796 GB, free: 24 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.2347, allocations: 52.05 kB / 0.796 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.2348, allocations: 4 kB / 0.796 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.2348, allocations: 0 / 0.796 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2348, allocations: 3.938 kB / 0.796 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004452/0.2352, allocations: 433.1 kB / 0.7964 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2352, allocations: 0 / 0.7964 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.2355, allocations: 47.91 kB / 0.7965 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.2355, allocations: 0 / 0.7965 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.2355, allocations: 12 kB / 0.7965 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2355, allocations: 3.938 kB / 0.7965 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2356, allocations: 0 / 0.7965 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008509/0.2364, allocations: 0.4971 MB / 0.797 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.2365, allocations: 140.5 kB / 0.7971 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.2366, allocations: 8 kB / 0.7971 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.2368, allocations: 11.98 kB / 0.7971 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.2369, allocations: 15.97 kB / 0.7971 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.2369, allocations: 15.94 kB / 0.7972 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002931/0.2372, allocations: 287.1 kB / 0.7974 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2372, allocations: 3.938 kB / 0.7974 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003135/0.2375, allocations: 79.69 kB / 0.7975 GB, free: 14.35 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.0001103/0.2376, allocations: 103.2 kB / 0.7976 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000544/0.2382, allocations: 249.8 kB / 0.7979 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2382, allocations: 4 kB / 0.7979 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.2384, allocations: 115.9 kB / 0.798 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006871/0.2391, allocations: 115.7 kB / 0.7981 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.2404, allocations: 0.8983 MB / 0.799 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.2408, allocations: 0.8152 MB / 0.7998 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002104/0.241, allocations: 51.25 kB / 0.7998 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.112e-05/0.2411, allocations: 31.44 kB / 0.7998 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.2411, allocations: 3.938 kB / 0.7998 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of Templates: time 0.007025/0.2481, allocations: 3.583 MB / 0.8033 GB, free: 8.406 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (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 & ./Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)