Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.532/1.532, allocations: 288.4 MB / 303.6 MB, free: 8.172 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.0009794/0.0009794, allocations: 172.5 kB / 372.2 MB, free: 10.14 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.319/1.319, allocations: 205.4 MB / 0.631 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007511/0.0007512, allocations: 90.45 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003504, allocations: 11.91 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1848, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.002466/0.1873, allocations: 2.628 MB / 0.9828 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1888, allocations: 1.076 MB / 0.9838 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.189, allocations: 19.88 kB / 0.9838 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.1892, allocations: 59.44 kB / 0.9839 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.1894, allocations: 79.31 kB / 0.984 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005201/0.1899, allocations: 228.9 kB / 0.9842 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004076/0.1904, allocations: 0.5505 MB / 0.9847 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.1907, allocations: 238.1 kB / 0.985 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.1908, allocations: 170.9 kB / 0.9851 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.191, allocations: 147 kB / 0.9853 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.191, allocations: 8 kB / 0.9853 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.486e-05/0.1911, allocations: 12 kB / 0.9853 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.387e-05/0.1911, allocations: 59.62 kB / 0.9853 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.1912, allocations: 196.5 kB / 0.9855 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.1915, allocations: 0.522 MB / 0.986 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1916, allocations: 0 / 0.986 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1916, allocations: 0 / 0.986 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.1916, allocations: 0 / 0.986 GB, free: 21.23 MB / 0.6198 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.0009246/0.1925, allocations: 0.7399 MB / 0.9868 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1925, allocations: 12.03 kB / 0.9868 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.802e-05/0.1926, allocations: 66.72 kB / 0.9868 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.571e-05/0.1927, allocations: 56.28 kB / 0.9869 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000611/0.1933, allocations: 0.5022 MB / 0.9874 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1933, allocations: 21.03 kB / 0.9874 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/0.1934, allocations: 28.38 kB / 0.9874 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005326/0.1939, allocations: 375 kB / 0.9878 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1939, allocations: 7.938 kB / 0.9878 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.194, allocations: 8 kB / 0.9878 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.194, allocations: 8 kB / 0.9878 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.1945, allocations: 266 kB / 0.9881 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.1957, allocations: 1.432 MB / 0.9895 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005798/0.1963, allocations: 281.1 kB / 0.9897 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.1965, allocations: 148.7 kB / 0.9899 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.1966, allocations: 0 / 0.9899 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.432e-05/0.1966, allocations: 38.56 kB / 0.9899 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 2.174e-06/0.1966, allocations: 3.984 kB / 0.9899 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.0007491/0.1973, allocations: 381.3 kB / 0.9903 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.1974, allocations: 55.41 kB / 0.9903 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.1977, allocations: 413.8 kB / 0.9907 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1977, allocations: 29.7 kB / 0.9907 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.1979, allocations: 260.1 kB / 0.991 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.1979, allocations: 78.84 kB / 0.9911 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.286e-05/0.1979, allocations: 8 kB / 0.9911 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.054e-05/0.198, allocations: 358.7 kB / 0.9914 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.1982, allocations: 100.5 kB / 0.9915 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.1985, allocations: 172.7 kB / 0.9917 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000451/0.1989, allocations: 281.7 kB / 0.9919 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1989, allocations: 0 / 0.9919 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005433/0.1995, allocations: 352.7 kB / 0.9923 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1995, allocations: 8 kB / 0.9923 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1995, allocations: 0 / 0.9923 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1995, allocations: 4 kB / 0.9923 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.1998, allocations: 68.14 kB / 0.9924 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.475e-06/0.1998, allocations: 7.938 kB / 0.9924 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.2, allocations: 39.67 kB / 0.9924 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.2, allocations: 12 kB / 0.9924 GB, free: 14.36 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.2002, allocations: 173.7 kB / 0.9926 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.2002, allocations: 39.53 kB / 0.9926 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.677e-05/0.2003, allocations: 51.97 kB / 0.9927 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2003, allocations: 4 kB / 0.9927 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2003, allocations: 0 / 0.9927 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.2003, allocations: 3.938 kB / 0.9927 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000337/0.2007, allocations: 433.2 kB / 0.9931 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2007, allocations: 0 / 0.9931 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.2009, allocations: 51.91 kB / 0.9931 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2009, allocations: 4 kB / 0.9931 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.201, allocations: 11.98 kB / 0.9932 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.201, allocations: 0 / 0.9932 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.201, allocations: 0 / 0.9932 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007545/0.2017, allocations: 0.5091 MB / 0.9937 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.691e-05/0.2018, allocations: 140.5 kB / 0.9938 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.2019, allocations: 8 kB / 0.9938 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.2021, allocations: 16.05 kB / 0.9938 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.2021, allocations: 23.91 kB / 0.9938 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.2022, allocations: 4 kB / 0.9938 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002202/0.2024, allocations: 287.1 kB / 0.9941 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2024, allocations: 0 / 0.9941 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002695/0.2027, allocations: 67.69 kB / 0.9942 GB, free: 12.47 MB / 0.6198 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 (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.0008967/0.2036, allocations: 1.064 MB / 0.9952 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004889/0.2041, allocations: 264 kB / 0.9955 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2041, allocations: 0 / 0.9955 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.2043, allocations: 123.8 kB / 0.9956 GB, free: 11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000631/0.2049, allocations: 125.6 kB / 0.9957 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.2082, allocations: 2.391 MB / 0.998 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.2084, allocations: 0.8191 MB / 0.9988 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001899/0.2086, allocations: 51.2 kB / 0.9989 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.2088, allocations: 147.4 kB / 0.999 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of SimCode: time 3.31e-07/0.2088, allocations: 0 / 0.999 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2837/0.4925, allocations: 7.702 MB / 1.007 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/0.4928, allocations: 223.2 kB / 1.007 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/2.685, allocations: 2.391 kB / 1.007 GB, free: 15.69 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)