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.0007013/0.0007013, allocations: 92 kB / 15.06 MB, free: 1.098 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.0007821/0.0007821, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.175/1.175, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.519/1.519, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0004739/0.0004739, allocations: 20.16 kB / 0.6738 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1812, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.0027/0.1839, allocations: 2.636 MB / 0.79 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1854, allocations: 1.065 MB / 0.791 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001892/0.1856, allocations: 15.88 kB / 0.791 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.1858, allocations: 67.31 kB / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.1859, allocations: 75.36 kB / 0.7912 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005407/0.1865, allocations: 232.1 kB / 0.7914 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004657/0.187, allocations: 0.5389 MB / 0.7919 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.1872, allocations: 161.9 kB / 0.7921 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.1874, allocations: 159 kB / 0.7922 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.1876, allocations: 155 kB / 0.7924 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.1876, allocations: 8 kB / 0.7924 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.817e-05/0.1877, allocations: 12 kB / 0.7924 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.746e-05/0.1877, allocations: 55.64 kB / 0.7925 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.875e-05/0.1878, allocations: 105.4 kB / 0.7926 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.1882, allocations: 0.5181 MB / 0.7931 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1882, allocations: 0 / 0.7931 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1882, allocations: 0 / 0.7931 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.1882, allocations: 0 / 0.7931 GB, free: 6.016 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.0009207/0.1891, allocations: 0.7475 MB / 0.7938 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.1892, allocations: 8.031 kB / 0.7938 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.656e-05/0.1892, allocations: 70.53 kB / 0.7939 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.839e-05/0.1893, allocations: 59.28 kB / 0.7939 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006327/0.1899, allocations: 497.2 kB / 0.7944 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.19, allocations: 28.64 kB / 0.7944 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.19, allocations: 28 kB / 0.7945 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000555/0.1906, allocations: 370.8 kB / 0.7948 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1906, allocations: 0 / 0.7948 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.1906, allocations: 12 kB / 0.7948 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.1907, allocations: 8 kB / 0.7948 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005106/0.1912, allocations: 266 kB / 0.7951 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.1925, allocations: 1.433 MB / 0.7965 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005619/0.193, allocations: 274.9 kB / 0.7967 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.1933, allocations: 140.8 kB / 0.7969 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.1933, allocations: 4 kB / 0.7969 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.1934, allocations: 34.5 kB / 0.7969 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.162e-06/0.1934, allocations: 0 / 0.7969 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0007457/0.1941, allocations: 395.1 kB / 0.7973 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.1942, allocations: 51.41 kB / 0.7973 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003674/0.1945, allocations: 413.9 kB / 0.7977 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1946, allocations: 29.7 kB / 0.7978 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.1947, allocations: 256.1 kB / 0.798 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.1948, allocations: 82.77 kB / 0.7981 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.1948, allocations: 4 kB / 0.7981 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1949, allocations: 362.8 kB / 0.7984 GB, free: 240 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.1951, allocations: 96.5 kB / 0.7985 GB, free: 144 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.1954, allocations: 168.7 kB / 0.7987 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.1956, allocations: 123.9 kB / 0.7988 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1956, allocations: 0 / 0.7988 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005672/0.1962, allocations: 344.9 kB / 0.7991 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1962, allocations: 8 kB / 0.7991 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1962, allocations: 0 / 0.7991 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1963, allocations: 4 kB / 0.7991 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.1965, allocations: 68.14 kB / 0.7992 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1965, allocations: 11.89 kB / 0.7992 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.1967, allocations: 35.73 kB / 0.7993 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.1967, allocations: 16 kB / 0.7993 GB, free: 15.35 MB / 0.6231 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.0001493/0.1969, allocations: 169.8 kB / 0.7994 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.535e-05/0.197, allocations: 43.44 kB / 0.7995 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.408e-05/0.197, allocations: 55.95 kB / 0.7995 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.1971, allocations: 4 kB / 0.7995 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1971, allocations: 0 / 0.7995 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1971, allocations: 3.953 kB / 0.7995 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003994/0.1975, allocations: 441.2 kB / 0.8 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1975, allocations: 0 / 0.8 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.1977, allocations: 43.97 kB / 0.8 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1977, allocations: 4 kB / 0.8 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.1978, allocations: 11.98 kB / 0.8 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1978, allocations: 0 / 0.8 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1978, allocations: 7.938 kB / 0.8 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00078/0.1986, allocations: 0.5026 MB / 0.8005 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.1987, allocations: 144.5 kB / 0.8006 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.1987, allocations: 4 kB / 0.8007 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.1989, allocations: 16.05 kB / 0.8007 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.1989, allocations: 19.97 kB / 0.8007 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.199, allocations: 7.938 kB / 0.8007 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000248/0.1992, allocations: 287.1 kB / 0.801 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1992, allocations: 0 / 0.801 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002931/0.1995, allocations: 67.78 kB / 0.801 GB, free: 13.45 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 (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.0009837/0.2005, allocations: 1.064 MB / 0.8021 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004989/0.201, allocations: 261.7 kB / 0.8023 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.201, allocations: 0 / 0.8023 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.2013, allocations: 131.8 kB / 0.8024 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005729/0.2019, allocations: 116.2 kB / 0.8026 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003445/0.2053, allocations: 2.39 MB / 0.8049 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.2056, allocations: 0.8152 MB / 0.8057 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001871/0.2058, allocations: 59.23 kB / 0.8057 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.206, allocations: 143.4 kB / 0.8059 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.206, allocations: 0 / 0.8059 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.2226, allocations: 7.646 MB / 0.8133 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/0.2228, allocations: 232.8 kB / 0.8136 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/1.781, allocations: 0 / 0.8136 GB, free: 0.7188 MB / 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/linux/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) Environment - environmentSimulation: