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.001184/0.001185, allocations: 105.2 kB / 16.36 MB, free: 6.258 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.00122/0.00122, allocations: 191.1 kB / 17.3 MB, free: 5.848 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.412/1.412, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.874/1.874, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.001476/0.001476, allocations: 75.91 kB / 0.673 GB, free: 5.758 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2644, allocations: 114.6 MB / 0.7849 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.004583/0.269, allocations: 2.106 MB / 0.7869 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5331/0.8022, allocations: 1.09 MB / 0.788 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000317/0.8026, allocations: 5.281 kB / 0.788 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004657/0.8031, allocations: 96.11 kB / 0.7881 GB, free: 46.65 MB / 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.0003748/0.8035, allocations: 98.56 kB / 0.7882 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005065/0.804, allocations: 162.7 kB / 0.7883 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003588/0.8044, allocations: 337.1 kB / 0.7886 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003189/0.8047, allocations: 114.9 kB / 0.7887 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.8049, allocations: 140.9 kB / 0.7889 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.8051, allocations: 146.4 kB / 0.789 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.136e-05/0.8051, allocations: 28.88 kB / 0.7891 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.8053, allocations: 67.66 kB / 0.7891 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.903e-05/0.8054, allocations: 95.8 kB / 0.7892 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.8055, allocations: 139.7 kB / 0.7893 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000465/0.806, allocations: 476.2 kB / 0.7898 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.806, allocations: 1.375 kB / 0.7898 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.465e-06/0.806, allocations: 0 / 0.7898 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.806, allocations: 1.062 kB / 0.7898 GB, free: 46.48 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.001026/0.8071, allocations: 0.626 MB / 0.7904 GB, free: 46 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.8071, allocations: 11.03 kB / 0.7904 GB, free: 46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.8072, allocations: 43.72 kB / 0.7905 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.8077, allocations: 351.4 kB / 0.7908 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.8077, allocations: 21 kB / 0.7908 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.8078, allocations: 17.72 kB / 0.7908 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.8081, allocations: 188.8 kB / 0.791 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.8081, allocations: 0 / 0.791 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.8081, allocations: 11.38 kB / 0.791 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.8081, allocations: 5.25 kB / 0.791 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002526/0.8084, allocations: 129 kB / 0.7912 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009134/0.8093, allocations: 0.6624 MB / 0.7918 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.8097, allocations: 199.5 kB / 0.792 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.8098, allocations: 70.05 kB / 0.7921 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.8099, allocations: 6.562 kB / 0.7921 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.8101, allocations: 128.5 kB / 0.7922 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.8101, allocations: 0.875 kB / 0.7922 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0004651/0.8106, allocations: 247 kB / 0.7924 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.8107, allocations: 56 kB / 0.7925 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/0.811, allocations: 377.6 kB / 0.7928 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.811, allocations: 33.33 kB / 0.7929 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.198e-05/0.8111, allocations: 177.2 kB / 0.793 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.8111, allocations: 45.52 kB / 0.7931 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.316e-05/0.8112, allocations: 68 kB / 0.7931 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.388e-05/0.8113, allocations: 351.8 kB / 0.7935 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.8115, allocations: 89.56 kB / 0.7936 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.8117, allocations: 146.6 kB / 0.7937 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.8119, allocations: 149 kB / 0.7938 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.8119, allocations: 0 / 0.7938 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003676/0.8123, allocations: 278.6 kB / 0.7941 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.8123, allocations: 3.312 kB / 0.7941 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.8123, allocations: 7.078 kB / 0.7941 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.8123, allocations: 0.5938 kB / 0.7941 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.8125, allocations: 37.48 kB / 0.7942 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.8125, allocations: 3.344 kB / 0.7942 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.8127, allocations: 35.53 kB / 0.7942 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.8127, allocations: 13.94 kB / 0.7942 GB, free: 44.49 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.0001452/0.8129, allocations: 172.1 kB / 0.7944 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.8129, allocations: 28.62 kB / 0.7944 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.433e-05/0.813, allocations: 31.59 kB / 0.7944 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.813, allocations: 3.219 kB / 0.7944 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.813, allocations: 0 / 0.7944 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.8131, allocations: 105.1 kB / 0.7945 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.8131, allocations: 10.62 kB / 0.7945 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.8132, allocations: 15.88 kB / 0.7946 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.323e-05/0.8133, allocations: 34.27 kB / 0.7946 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003466/0.8137, allocations: 265.8 kB / 0.7948 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003139/0.814, allocations: 367.6 kB / 0.7952 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001219/0.8141, allocations: 74.28 kB / 0.7953 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001989/0.8143, allocations: 241.2 kB / 0.7955 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of Backend: time 5.71e-07/0.8143, allocations: 0 / 0.7955 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00151/0.8158, allocations: 0.5492 MB / 0.796 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0009789/0.8168, allocations: 0.9236 MB / 0.7969 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of Templates: time 0.009219/0.8261, allocations: 3.878 MB / 0.8007 GB, free: 42.86 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)