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: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=0,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=0,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 100.5 kB / 16.27 MB, free: 6.418 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.001081/0.001082, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.54/1.54, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.772/1.772, allocations: 292.3 MB / 0.5495 GB, free: 17.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.00143/0.00143, allocations: 63.91 kB / 0.6722 GB, free: 6.461 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2808, allocations: 114.6 MB / 0.7841 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.004048/0.2849, allocations: 2.111 MB / 0.7861 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002134/0.2871, allocations: 1.097 MB / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000227/0.2873, allocations: 8 kB / 0.7872 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004474/0.2878, allocations: 91.45 kB / 0.7873 GB, free: 468 kB / 0.6544 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.0003286/0.2882, allocations: 95.45 kB / 0.7874 GB, free: 372 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.2886, allocations: 163.6 kB / 0.7876 GB, free: 208 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.5021/0.7907, allocations: 328.7 kB / 0.7879 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003734/0.7911, allocations: 119.3 kB / 0.788 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.7914, allocations: 140.2 kB / 0.7881 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.7916, allocations: 145.8 kB / 0.7883 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.7916, allocations: 29.06 kB / 0.7883 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.7918, allocations: 69.78 kB / 0.7883 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.7919, allocations: 91.84 kB / 0.7884 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.7921, allocations: 144.9 kB / 0.7886 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004618/0.7925, allocations: 464.4 kB / 0.789 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.7925, allocations: 3.219 kB / 0.789 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7925, allocations: 0.8438 kB / 0.789 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.7926, allocations: 0 / 0.789 GB, free: 45.99 MB / 0.6544 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.0009636/0.7935, allocations: 0.6251 MB / 0.7896 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.7936, allocations: 10.75 kB / 0.7896 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.861e-05/0.7937, allocations: 41.52 kB / 0.7897 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003914/0.7941, allocations: 348.7 kB / 0.79 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.7941, allocations: 16.5 kB / 0.79 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.7941, allocations: 19.12 kB / 0.79 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.7944, allocations: 193.8 kB / 0.7902 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.7945, allocations: 3.375 kB / 0.7902 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.7945, allocations: 10.12 kB / 0.7902 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.7945, allocations: 5.25 kB / 0.7903 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.7947, allocations: 126.5 kB / 0.7904 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009124/0.7956, allocations: 0.6676 MB / 0.791 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003862/0.796, allocations: 194.8 kB / 0.7912 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.7962, allocations: 71.62 kB / 0.7913 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.7962, allocations: 2.625 kB / 0.7913 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.7964, allocations: 134.5 kB / 0.7914 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.7964, allocations: 0 / 0.7914 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0004738/0.7969, allocations: 240.6 kB / 0.7916 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.797, allocations: 54.03 kB / 0.7917 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.7973, allocations: 380 kB / 0.7921 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.7973, allocations: 34.45 kB / 0.7921 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.966e-05/0.7974, allocations: 175 kB / 0.7923 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.7975, allocations: 50.48 kB / 0.7923 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.432e-05/0.7976, allocations: 67.42 kB / 0.7924 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.595e-05/0.7976, allocations: 341.8 kB / 0.7927 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.7978, allocations: 93.89 kB / 0.7928 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.798, allocations: 142.1 kB / 0.7929 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.7982, allocations: 154.3 kB / 0.7931 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7982, allocations: 2.656 kB / 0.7931 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003787/0.7986, allocations: 276.7 kB / 0.7933 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.7986, allocations: 8 kB / 0.7933 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.7987, allocations: 3.234 kB / 0.7933 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.7987, allocations: 9.375 kB / 0.7933 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.7988, allocations: 36.34 kB / 0.7934 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.7988, allocations: 4.375 kB / 0.7934 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.799, allocations: 38.81 kB / 0.7934 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.799, allocations: 6.938 kB / 0.7934 GB, free: 44.01 MB / 0.6544 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.000138/0.7992, allocations: 170.8 kB / 0.7936 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.7992, allocations: 29.81 kB / 0.7936 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.529e-05/0.7993, allocations: 41.09 kB / 0.7937 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.7993, allocations: 3.344 kB / 0.7937 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.7993, allocations: 3.281 kB / 0.7937 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.7993, allocations: 3.938 kB / 0.7937 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.7996, allocations: 326.3 kB / 0.794 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.7996, allocations: 3.438 kB / 0.794 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.7997, allocations: 16.19 kB / 0.794 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.7997, allocations: 3.438 kB / 0.794 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.7997, allocations: 3.375 kB / 0.794 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7997, allocations: 0 / 0.794 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7997, allocations: 5.969 kB / 0.794 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.8, allocations: 223.9 kB / 0.7942 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.8001, allocations: 105.3 kB / 0.7943 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.175e-05/0.8001, allocations: 10.28 kB / 0.7943 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.8002, allocations: 17.39 kB / 0.7944 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.229e-05/0.8003, allocations: 29.72 kB / 0.7944 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.8003, allocations: 15.53 kB / 0.7944 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001816/0.8005, allocations: 237.9 kB / 0.7946 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8005, allocations: 3.438 kB / 0.7946 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002686/0.8008, allocations: 62.06 kB / 0.7947 GB, free: 43.39 MB / 0.6544 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.0009365/0.8018, allocations: 422 kB / 0.7951 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003917/0.8022, allocations: 218.3 kB / 0.7953 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8022, allocations: 1.969 kB / 0.7953 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.8023, allocations: 87.02 kB / 0.7954 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.8027, allocations: 51.59 kB / 0.7954 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007562/0.8034, allocations: 0.5161 MB / 0.7959 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.8036, allocations: 0.7808 MB / 0.7967 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.163e-05/0.8037, allocations: 33.98 kB / 0.7967 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of SimCode: time 6.31e-07/0.8037, allocations: 0 / 0.7967 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of Templates: time 0.007427/0.8112, allocations: 4.166 MB / 0.8008 GB, free: 42 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)