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.001672/0.001672, allocations: 109.2 kB / 16.29 MB, free: 6.43 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.00204/0.00204, allocations: 187.3 kB / 17.22 MB, free: 5.934 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.439/1.439, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.897/1.897, allocations: 292.3 MB / 0.5495 GB, free: 17.66 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.001474/0.001474, allocations: 71.89 kB / 0.6723 GB, free: 6.434 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3003, allocations: 114.6 MB / 0.7841 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.00455/0.3049, allocations: 2.098 MB / 0.7862 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.3071, allocations: 1.105 MB / 0.7873 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002707/0.3074, allocations: 4 kB / 0.7873 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004436/0.3078, allocations: 91.45 kB / 0.7874 GB, free: 448 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.0004928/0.3084, allocations: 95.47 kB / 0.7874 GB, free: 352 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.3089, allocations: 163.6 kB / 0.7876 GB, free: 188 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.5102/0.8191, allocations: 333 kB / 0.7879 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003645/0.8195, allocations: 116.8 kB / 0.788 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.8198, allocations: 142.5 kB / 0.7882 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.82, allocations: 141 kB / 0.7883 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.82, allocations: 29.44 kB / 0.7883 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/0.8202, allocations: 71.19 kB / 0.7884 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.8204, allocations: 92.2 kB / 0.7885 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.8205, allocations: 145.4 kB / 0.7886 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004924/0.821, allocations: 475.7 kB / 0.7891 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.821, allocations: 2.469 kB / 0.7891 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.062e-06/0.821, allocations: 0 / 0.7891 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.8211, allocations: 0 / 0.7891 GB, free: 46.05 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.0009811/0.822, allocations: 0.6227 MB / 0.7897 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.8221, allocations: 9.844 kB / 0.7897 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.884e-05/0.8222, allocations: 38.84 kB / 0.7897 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.8226, allocations: 359.1 kB / 0.7901 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.8226, allocations: 16.75 kB / 0.7901 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.576e-05/0.8227, allocations: 22.2 kB / 0.7901 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/0.823, allocations: 188.3 kB / 0.7903 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.8231, allocations: 0 / 0.7903 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.8231, allocations: 6.969 kB / 0.7903 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.8231, allocations: 2.625 kB / 0.7903 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.8233, allocations: 131 kB / 0.7904 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009527/0.8243, allocations: 0.6647 MB / 0.7911 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.8247, allocations: 198 kB / 0.7913 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.8249, allocations: 72.45 kB / 0.7913 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.8249, allocations: 0 / 0.7913 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.8252, allocations: 128.4 kB / 0.7915 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.8252, allocations: 2.625 kB / 0.7915 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0005184/0.8257, allocations: 244.8 kB / 0.7917 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.8258, allocations: 54.03 kB / 0.7917 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/0.8261, allocations: 377.4 kB / 0.7921 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.8262, allocations: 37.3 kB / 0.7921 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.8263, allocations: 173 kB / 0.7923 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.8263, allocations: 49.61 kB / 0.7924 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.682e-05/0.8264, allocations: 65.91 kB / 0.7924 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.592e-05/0.8265, allocations: 345.1 kB / 0.7927 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.8267, allocations: 104.1 kB / 0.7928 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.8269, allocations: 140 kB / 0.793 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.8271, allocations: 148.5 kB / 0.7931 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.8271, allocations: 0.625 kB / 0.7931 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004034/0.8275, allocations: 283.3 kB / 0.7934 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.8275, allocations: 5.203 kB / 0.7934 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.8275, allocations: 3.219 kB / 0.7934 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.8276, allocations: 1 kB / 0.7934 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.8277, allocations: 34.44 kB / 0.7934 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.8277, allocations: 3.5 kB / 0.7934 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.8279, allocations: 38.75 kB / 0.7935 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.8279, allocations: 13 kB / 0.7935 GB, free: 44.07 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.0001564/0.8281, allocations: 174.1 kB / 0.7936 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.8281, allocations: 32.19 kB / 0.7937 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.669e-05/0.8282, allocations: 33.33 kB / 0.7937 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.8282, allocations: 3.406 kB / 0.7937 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.8283, allocations: 2.688 kB / 0.7937 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.8283, allocations: 5.391 kB / 0.7937 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.8286, allocations: 326.5 kB / 0.794 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.8286, allocations: 0 / 0.794 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.688e-05/0.8287, allocations: 20.28 kB / 0.7941 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.8287, allocations: 0 / 0.7941 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.8287, allocations: 4.5 kB / 0.7941 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.8287, allocations: 0 / 0.7941 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.8287, allocations: 0 / 0.7941 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.829, allocations: 223.5 kB / 0.7943 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.8291, allocations: 109.5 kB / 0.7944 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.8291, allocations: 9.75 kB / 0.7944 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.692e-05/0.8292, allocations: 14.08 kB / 0.7944 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.543e-05/0.8293, allocations: 34.08 kB / 0.7944 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.8294, allocations: 13.36 kB / 0.7944 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002099/0.8296, allocations: 239.5 kB / 0.7947 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8296, allocations: 1.562 kB / 0.7947 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002797/0.8299, allocations: 60.25 kB / 0.7947 GB, free: 43.45 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.001195/0.8311, allocations: 432.3 kB / 0.7951 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004236/0.8315, allocations: 200.7 kB / 0.7953 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.8315, allocations: 0 / 0.7953 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.8317, allocations: 84.05 kB / 0.7954 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.8321, allocations: 53.72 kB / 0.7955 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000966/0.8331, allocations: 498.5 kB / 0.7959 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.8334, allocations: 0.7801 MB / 0.7967 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001186/0.8335, allocations: 40.83 kB / 0.7967 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.893e-05/0.8336, allocations: 31.31 kB / 0.7968 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of SimCode: time 1.984e-06/0.8336, allocations: 0 / 0.7968 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of Templates: time 0.009325/0.8429, allocations: 3.661 MB / 0.8003 GB, free: 42.2 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)