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.001047/0.001047, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.006176/0.006176, allocations: 170.9 kB / 16.27 MB, free: 6.652 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.179/1.179, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.507/1.507, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004425/0.0004425, allocations: 13.97 kB / 0.6744 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1693, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.002753/0.1721, allocations: 2.758 MB / 0.7907 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1735, allocations: 1.1 MB / 0.7918 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.1737, allocations: 15.94 kB / 0.7918 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.1739, allocations: 75.38 kB / 0.7919 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.1741, allocations: 83.36 kB / 0.7919 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000554/0.1747, allocations: 314.9 kB / 0.7922 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004847/0.1752, allocations: 0.5933 MB / 0.7928 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003125/0.1755, allocations: 238.1 kB / 0.7931 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.1757, allocations: 155 kB / 0.7932 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.1758, allocations: 166.8 kB / 0.7934 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.1759, allocations: 16 kB / 0.7934 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.427e-05/0.1759, allocations: 8 kB / 0.7934 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.897e-05/0.176, allocations: 55.64 kB / 0.7934 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.1761, allocations: 212.3 kB / 0.7936 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.1765, allocations: 0.6109 MB / 0.7942 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1765, allocations: 0 / 0.7942 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1766, allocations: 0 / 0.7942 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.1766, allocations: 0 / 0.7942 GB, free: 5.039 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.0009771/0.1775, allocations: 0.7476 MB / 0.795 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1776, allocations: 12.03 kB / 0.795 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.437e-05/0.1777, allocations: 62.72 kB / 0.795 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.983e-05/0.1777, allocations: 56.28 kB / 0.7951 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000652/0.1784, allocations: 0.4983 MB / 0.7956 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.1784, allocations: 21.03 kB / 0.7956 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.1785, allocations: 36.38 kB / 0.7956 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005743/0.179, allocations: 378.9 kB / 0.796 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1791, allocations: 0 / 0.796 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.1791, allocations: 16 kB / 0.796 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.1791, allocations: 8 kB / 0.796 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005585/0.1797, allocations: 270 kB / 0.7963 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.181, allocations: 1.429 MB / 0.7977 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006164/0.1816, allocations: 278.8 kB / 0.7979 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.1819, allocations: 144.7 kB / 0.7981 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.1819, allocations: 4 kB / 0.7981 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.182, allocations: 34.56 kB / 0.7981 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.223e-06/0.182, allocations: 0 / 0.7981 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0007924/0.1828, allocations: 383.2 kB / 0.7985 GB, free: 480 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.1828, allocations: 59.41 kB / 0.7985 GB, free: 408 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/0.1832, allocations: 413.9 kB / 0.7989 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.1832, allocations: 33.64 kB / 0.799 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.1834, allocations: 268 kB / 0.7992 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.1834, allocations: 74.86 kB / 0.7993 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.1835, allocations: 29.7 kB / 0.7993 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1836, allocations: 362.7 kB / 0.7997 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.1838, allocations: 96.52 kB / 0.7998 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.1841, allocations: 168.8 kB / 0.7999 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/0.1846, allocations: 287 kB / 0.8002 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1846, allocations: 0 / 0.8002 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006088/0.1853, allocations: 348.8 kB / 0.8005 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.1853, allocations: 10.97 kB / 0.8005 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1853, allocations: 3.984 kB / 0.8005 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1853, allocations: 4 kB / 0.8005 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.1856, allocations: 67.91 kB / 0.8006 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1856, allocations: 0 / 0.8006 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.1858, allocations: 43.92 kB / 0.8006 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.1858, allocations: 11.98 kB / 0.8007 GB, free: 14.13 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001561/0.186, allocations: 179.9 kB / 0.8008 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.632e-05/0.186, allocations: 39.53 kB / 0.8009 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.38e-05/0.1861, allocations: 47.98 kB / 0.8009 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.1861, allocations: 7.984 kB / 0.8009 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1861, allocations: 0 / 0.8009 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1861, allocations: 7.938 kB / 0.8009 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.1865, allocations: 429.2 kB / 0.8013 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1865, allocations: 0 / 0.8013 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/0.1868, allocations: 51.95 kB / 0.8014 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1868, allocations: 0 / 0.8014 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.1868, allocations: 4 kB / 0.8014 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1868, allocations: 7.938 kB / 0.8014 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1868, allocations: 0 / 0.8014 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000837/0.1877, allocations: 0.5181 MB / 0.8019 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.1878, allocations: 140.5 kB / 0.802 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.1878, allocations: 8 kB / 0.802 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.188, allocations: 15.98 kB / 0.8021 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.1881, allocations: 15.92 kB / 0.8021 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.1881, allocations: 12.05 kB / 0.8021 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002574/0.1883, allocations: 291.1 kB / 0.8024 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1884, allocations: 3.938 kB / 0.8024 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002911/0.1886, allocations: 71.69 kB / 0.8024 GB, free: 12.21 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.001021/0.1897, allocations: 1.058 MB / 0.8035 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005166/0.1902, allocations: 256.1 kB / 0.8037 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1902, allocations: 4 kB / 0.8037 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.1905, allocations: 119.9 kB / 0.8038 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.1911, allocations: 127.3 kB / 0.804 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004555/0.1956, allocations: 3.759 MB / 0.8076 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.196, allocations: 0.8152 MB / 0.8084 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001739/0.1961, allocations: 51.25 kB / 0.8085 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.1963, allocations: 147.4 kB / 0.8086 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of SimCode: time 1.323e-06/0.1963, allocations: 0 / 0.8086 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/0.2123, allocations: 7.453 MB / 0.8159 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.2126, allocations: 233.8 kB / 0.8161 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/1.812, allocations: 2.656 kB / 0.8161 GB, free: 14.24 MB / 0.6387 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)