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.798/1.798, allocations: 288.2 MB / 303.2 MB, free: 8.148 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.001181/0.001181, allocations: 191.5 kB / 371.8 MB, free: 10.26 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.781/1.781, allocations: 205.4 MB / 0.6305 GB, free: 9.914 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.0009578/0.0009579, allocations: 108.1 kB / 0.7439 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003772, allocations: 10.5 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1885, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.002826/0.1913, allocations: 2.62 MB / 0.9821 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001928/0.1933, allocations: 1.057 MB / 0.9831 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003748/0.1937, allocations: 11.94 kB / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.023e-05/0.1938, allocations: 39.53 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005043/0.1943, allocations: 142.1 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00059/0.1949, allocations: 250.5 kB / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005328/0.1955, allocations: 400.4 kB / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002817/0.1958, allocations: 162.1 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.1959, allocations: 159.2 kB / 0.9842 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.1961, allocations: 151.1 kB / 0.9843 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.1962, allocations: 11.94 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.277e-05/0.1962, allocations: 12 kB / 0.9844 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.266e-05/0.1963, allocations: 59.62 kB / 0.9844 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.604e-05/0.1963, allocations: 105.5 kB / 0.9845 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003565/0.1967, allocations: 0.5142 MB / 0.985 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.1967, allocations: 4 kB / 0.985 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1967, allocations: 0 / 0.985 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.1967, allocations: 0 / 0.985 GB, free: 21.88 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.001073/0.1978, allocations: 0.7474 MB / 0.9858 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.1978, allocations: 16.02 kB / 0.9858 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.373e-05/0.1979, allocations: 58.55 kB / 0.9858 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.556e-05/0.198, allocations: 55.34 kB / 0.9859 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007588/0.1988, allocations: 0.4895 MB / 0.9864 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.1988, allocations: 20.66 kB / 0.9864 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.904e-05/0.1989, allocations: 32 kB / 0.9864 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006141/0.1995, allocations: 366.8 kB / 0.9868 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1995, allocations: 4 kB / 0.9868 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.1996, allocations: 19.98 kB / 0.9868 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.1996, allocations: 8 kB / 0.9868 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005349/0.2001, allocations: 262 kB / 0.987 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.2015, allocations: 1.44 MB / 0.9884 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005779/0.202, allocations: 262.9 kB / 0.9887 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.2021, allocations: 11.92 kB / 0.9887 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.2021, allocations: 34.55 kB / 0.9887 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 1.884e-06/0.2021, allocations: 4 kB / 0.9887 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.0007796/0.2029, allocations: 381.5 kB / 0.9891 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.2029, allocations: 55.36 kB / 0.9892 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.2033, allocations: 410 kB / 0.9896 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.2033, allocations: 29.7 kB / 0.9896 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.2034, allocations: 256.1 kB / 0.9898 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.2035, allocations: 86.75 kB / 0.9899 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.155e-05/0.2035, allocations: 4 kB / 0.9899 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.36e-05/0.2036, allocations: 358.8 kB / 0.9903 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.2038, allocations: 96.5 kB / 0.9903 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.204, allocations: 172.6 kB / 0.9905 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.2043, allocations: 125.2 kB / 0.9906 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2043, allocations: 0 / 0.9906 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000596/0.2049, allocations: 349.7 kB / 0.991 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.2049, allocations: 4 kB / 0.991 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2049, allocations: 4 kB / 0.991 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.205, allocations: 8.25 kB / 0.991 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.2052, allocations: 67.89 kB / 0.991 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.2052, allocations: 11.89 kB / 0.9911 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.2054, allocations: 35.73 kB / 0.9911 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.2055, allocations: 15.98 kB / 0.9911 GB, free: 15.34 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.0001601/0.2056, allocations: 173.8 kB / 0.9913 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.602e-05/0.2057, allocations: 43.44 kB / 0.9913 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.242e-05/0.2058, allocations: 43.98 kB / 0.9914 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2058, allocations: 4 kB / 0.9914 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2058, allocations: 3.984 kB / 0.9914 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.2058, allocations: 3.953 kB / 0.9914 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.2062, allocations: 437.2 kB / 0.9918 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2062, allocations: 0 / 0.9918 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.2065, allocations: 55.89 kB / 0.9918 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2065, allocations: 0 / 0.9918 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.2065, allocations: 8 kB / 0.9918 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2065, allocations: 0 / 0.9918 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2065, allocations: 0 / 0.9918 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008055/0.2073, allocations: 0.5142 MB / 0.9923 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.2074, allocations: 136.6 kB / 0.9925 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.2075, allocations: 8 kB / 0.9925 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.2077, allocations: 16.05 kB / 0.9925 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.2077, allocations: 15.98 kB / 0.9925 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.2078, allocations: 7.984 kB / 0.9925 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002561/0.208, allocations: 287.1 kB / 0.9928 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.208, allocations: 0 / 0.9928 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003114/0.2083, allocations: 71.69 kB / 0.9929 GB, free: 13.45 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.001014/0.2094, allocations: 1.062 MB / 0.9939 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004976/0.2099, allocations: 251.7 kB / 0.9941 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2099, allocations: 3.938 kB / 0.9941 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.2101, allocations: 128.3 kB / 0.9943 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/0.2107, allocations: 111.5 kB / 0.9944 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003808/0.2145, allocations: 3.577 MB / 0.9979 GB, free: 8.215 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.2148, allocations: 0.8269 MB / 0.9987 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002239/0.215, allocations: 59.19 kB / 0.9987 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.2152, allocations: 147.4 kB / 0.9989 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of SimCode: time 7.82e-07/0.2152, allocations: 0 / 0.9989 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.2322, allocations: 7.642 MB / 1.006 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/0.2324, allocations: 230.2 kB / 1.007 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.238, allocations: 0 / 1.007 GB, free: 15.54 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)