Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.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.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",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.001265/0.001265, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.255/1.255, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.614/1.614, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001398/0.001398, allocations: 71.77 kB / 0.6717 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1905, allocations: 114.5 MB / 0.7835 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.00338/0.1939, allocations: 2.1 MB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.1956, allocations: 1.105 MB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.1957, allocations: 0 / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003208/0.1961, allocations: 99.44 kB / 0.7868 GB, free: 9.977 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.1964, allocations: 91.47 kB / 0.7868 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.1967, allocations: 163.6 kB / 0.787 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.197, allocations: 331.8 kB / 0.7873 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002381/0.1973, allocations: 119.6 kB / 0.7874 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.1974, allocations: 143.4 kB / 0.7876 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.1976, allocations: 139.4 kB / 0.7877 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.549e-05/0.1976, allocations: 32 kB / 0.7877 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1978, allocations: 71.97 kB / 0.7878 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.006e-05/0.1979, allocations: 91.67 kB / 0.7879 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.198, allocations: 147.1 kB / 0.788 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003991/0.1984, allocations: 462.7 kB / 0.7885 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1984, allocations: 0 / 0.7885 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1984, allocations: 0 / 0.7885 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.1984, allocations: 0 / 0.7885 GB, free: 8.215 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009142/0.1993, allocations: 0.6305 MB / 0.7891 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1994, allocations: 8.031 kB / 0.7891 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.231e-05/0.1994, allocations: 54.73 kB / 0.7891 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.846e-05/0.1995, allocations: 36.47 kB / 0.7892 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.1999, allocations: 352.1 kB / 0.7895 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.1999, allocations: 24.12 kB / 0.7895 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.2, allocations: 19.98 kB / 0.7896 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.2003, allocations: 181.4 kB / 0.7897 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2003, allocations: 3.938 kB / 0.7897 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.2003, allocations: 8 kB / 0.7897 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2003, allocations: 8 kB / 0.7897 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.2006, allocations: 128.6 kB / 0.7899 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009526/0.2016, allocations: 0.6755 MB / 0.7905 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.202, allocations: 190.9 kB / 0.7907 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.2021, allocations: 72.78 kB / 0.7908 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.2021, allocations: 8 kB / 0.7908 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.2024, allocations: 130 kB / 0.7909 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.2024, allocations: 0 / 0.7909 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0004693/0.2028, allocations: 237.2 kB / 0.7911 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.2029, allocations: 59.34 kB / 0.7912 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.2032, allocations: 380.4 kB / 0.7916 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.2033, allocations: 33.7 kB / 0.7916 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.2034, allocations: 180.4 kB / 0.7918 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.2034, allocations: 43.36 kB / 0.7918 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-05/0.2035, allocations: 65.69 kB / 0.7919 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.2036, allocations: 338.8 kB / 0.7922 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.2038, allocations: 95.95 kB / 0.7923 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.204, allocations: 148.2 kB / 0.7924 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.2042, allocations: 153.7 kB / 0.7926 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2043, allocations: 0 / 0.7926 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004027/0.2047, allocations: 277.1 kB / 0.7928 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2047, allocations: 7.984 kB / 0.7928 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2047, allocations: 0 / 0.7928 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2047, allocations: 4.031 kB / 0.7928 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.2049, allocations: 39.92 kB / 0.7929 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2049, allocations: 7.938 kB / 0.7929 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.205, allocations: 35.81 kB / 0.7929 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.2051, allocations: 4.047 kB / 0.7929 GB, free: 3.387 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.uHeaCoo.tab.nextTimeEvent,$whenCondition1,uHeaCoo.tab.nextTimeEventScaled,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEvent,zonSta.addInt.y,zonSta.notHea.y,zonSta.hysU.y,$PRE.zonSta.hysU.y,zonSta.isCoo.y,zonSta.hysUCoo.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUHea.y,$PRE.zonSta.hysUHea.y,zonSta.booToIntDea.y,zonSta.isDea.y,zonSta.booToIntCoo.y,zonSta.booToIntHea.y,zonSta.yZonSta) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001762/0.2053, allocations: 176.7 kB / 0.7931 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.2053, allocations: 31.62 kB / 0.7931 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.773e-05/0.2054, allocations: 34.36 kB / 0.7932 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2054, allocations: 4 kB / 0.7932 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.2054, allocations: 3.938 kB / 0.7932 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2054, allocations: 0 / 0.7932 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.2057, allocations: 333.4 kB / 0.7935 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2057, allocations: 0 / 0.7935 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.343e-05/0.2058, allocations: 12 kB / 0.7935 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2058, allocations: 3.938 kB / 0.7935 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.2058, allocations: 11.98 kB / 0.7935 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2058, allocations: 4 kB / 0.7935 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.2058, allocations: 7.875 kB / 0.7935 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.2061, allocations: 215.6 kB / 0.7937 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/0.2062, allocations: 100.8 kB / 0.7938 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.2062, allocations: 11.98 kB / 0.7938 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.2063, allocations: 15.98 kB / 0.7939 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.531e-05/0.2064, allocations: 35.89 kB / 0.7939 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.2065, allocations: 8 kB / 0.7939 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002143/0.2067, allocations: 239 kB / 0.7941 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2067, allocations: 0 / 0.7941 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002616/0.207, allocations: 59.84 kB / 0.7942 GB, free: 2.012 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 5 (uHeaCoo.tab.nextTimeEventScaled,zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y,uHeaCoo.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001323/0.2083, allocations: 1.088 MB / 0.7952 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003831/0.2087, allocations: 208 kB / 0.7954 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2087, allocations: 0 / 0.7954 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.2088, allocations: 79.92 kB / 0.7955 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.2092, allocations: 65.95 kB / 0.7956 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.2121, allocations: 2.738 MB / 0.7983 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.2124, allocations: 0.7753 MB / 0.799 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.2125, allocations: 50.19 kB / 0.7991 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.2127, allocations: 103.4 kB / 0.7992 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of SimCode: time 3.7e-07/0.2127, allocations: 0 / 0.7992 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.2336, allocations: 6.317 MB / 0.8053 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.055/7.289, allocations: 15.2 kB / 0.8053 GB, free: 6.785 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)