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.001134/0.001134, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001111/0.001111, allocations: 197.8 kB / 16.14 MB, free: 6.707 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.138/1.138, allocations: 205.1 MB / 222 MB, free: 4.75 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.478/1.478, allocations: 292.3 MB / 0.5484 GB, free: 13.63 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.001347/0.001347, allocations: 68.55 kB / 0.6709 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1726, allocations: 114.5 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003525/0.1761, allocations: 3.151 MB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.1775, allocations: 1.111 MB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000185/0.1777, allocations: 19.88 kB / 0.787 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.1779, allocations: 63.44 kB / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.1781, allocations: 87.31 kB / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005417/0.1787, allocations: 313.9 kB / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004345/0.1791, allocations: 0.5778 MB / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003004/0.1794, allocations: 254.1 kB / 0.7882 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.1796, allocations: 183 kB / 0.7884 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.1798, allocations: 186.8 kB / 0.7886 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.395e-05/0.1798, allocations: 20 kB / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.269e-05/0.1799, allocations: 24 kB / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.421e-05/0.1799, allocations: 79.55 kB / 0.7887 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.1801, allocations: 206.6 kB / 0.7889 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004105/0.1805, allocations: 0.6345 MB / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1805, allocations: 0 / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.91e-07/0.1805, allocations: 0 / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.1805, allocations: 0 / 0.7895 GB, free: 6.949 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.001033/0.1816, allocations: 0.8176 MB / 0.7903 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.1816, allocations: 8.031 kB / 0.7903 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.906e-05/0.1817, allocations: 66.66 kB / 0.7904 GB, free: 6 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.609e-05/0.1817, allocations: 60.19 kB / 0.7905 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006354/0.1824, allocations: 0.5022 MB / 0.7909 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.1824, allocations: 21.03 kB / 0.791 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.341e-05/0.1825, allocations: 32.38 kB / 0.791 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005542/0.183, allocations: 378.8 kB / 0.7914 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.183, allocations: 0 / 0.7914 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.1831, allocations: 16 kB / 0.7914 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.1831, allocations: 8 kB / 0.7914 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005208/0.1836, allocations: 254 kB / 0.7916 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.1849, allocations: 1.432 MB / 0.793 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005959/0.1855, allocations: 266.9 kB / 0.7933 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.1858, allocations: 132.8 kB / 0.7934 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.1858, allocations: 4 kB / 0.7934 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.1858, allocations: 34.56 kB / 0.7934 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.262e-06/0.1858, allocations: 4 kB / 0.7934 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0007695/0.1866, allocations: 367.5 kB / 0.7938 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.1866, allocations: 59.41 kB / 0.7938 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003615/0.187, allocations: 409.9 kB / 0.7942 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.187, allocations: 37.69 kB / 0.7943 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.1872, allocations: 260.1 kB / 0.7945 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/0.1873, allocations: 82.75 kB / 0.7946 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.451e-05/0.1873, allocations: 53.97 kB / 0.7947 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1874, allocations: 350.8 kB / 0.795 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.1877, allocations: 100.5 kB / 0.7951 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.1879, allocations: 160.7 kB / 0.7952 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004503/0.1884, allocations: 271.5 kB / 0.7955 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1884, allocations: 0 / 0.7955 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005608/0.1889, allocations: 340.8 kB / 0.7958 GB, free: 168 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.189, allocations: 8.25 kB / 0.7958 GB, free: 160 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.189, allocations: 4 kB / 0.7958 GB, free: 156 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.189, allocations: 4 kB / 0.7958 GB, free: 152 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.1892, allocations: 59.89 kB / 0.7959 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.1893, allocations: 4 kB / 0.7959 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.1894, allocations: 35.67 kB / 0.7959 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.1895, allocations: 15.94 kB / 0.7959 GB, free: 36 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.0001587/0.1896, allocations: 177.7 kB / 0.7961 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/0.1897, allocations: 43.52 kB / 0.7962 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.796e-05/0.1898, allocations: 47.98 kB / 0.7962 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1898, allocations: 7.938 kB / 0.7962 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1898, allocations: 0 / 0.7962 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1898, allocations: 7.922 kB / 0.7962 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.1902, allocations: 425.3 kB / 0.7966 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1902, allocations: 0 / 0.7966 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.1904, allocations: 51.91 kB / 0.7967 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1904, allocations: 4 kB / 0.7967 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.1905, allocations: 7.984 kB / 0.7967 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1905, allocations: 4 kB / 0.7967 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1905, allocations: 0 / 0.7967 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007632/0.1913, allocations: 0.4926 MB / 0.7972 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1914, allocations: 140.5 kB / 0.7973 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.1914, allocations: 11.98 kB / 0.7973 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.1916, allocations: 7.984 kB / 0.7973 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.1917, allocations: 19.92 kB / 0.7973 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.1917, allocations: 4 kB / 0.7973 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002528/0.1919, allocations: 295.1 kB / 0.7976 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1919, allocations: 0 / 0.7976 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002864/0.1922, allocations: 71.75 kB / 0.7977 GB, free: 14.15 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.0009707/0.1932, allocations: 1.045 MB / 0.7987 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004921/0.1937, allocations: 247.5 kB / 0.799 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1937, allocations: 0.5625 kB / 0.799 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.194, allocations: 119.9 kB / 0.7991 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005911/0.1946, allocations: 122.3 kB / 0.7992 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004434/0.199, allocations: 3.712 MB / 0.8028 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.1993, allocations: 0.8152 MB / 0.8036 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001816/0.1995, allocations: 51.27 kB / 0.8037 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.1997, allocations: 151.4 kB / 0.8038 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of SimCode: time 2.81e-07/0.1997, allocations: 0 / 0.8038 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.2164, allocations: 7.553 MB / 0.8112 GB, free: 396 kB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/0.2166, allocations: 238.3 kB / 0.8114 GB, free: 132 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/1.809, allocations: 0 / 0.8114 GB, free: 132 kB / 0.6231 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)