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.0014/0.001401, allocations: 109.3 kB / 16.36 MB, free: 6.426 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.001162/0.001162, allocations: 190.6 kB / 17.3 MB, free: 5.805 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.418/1.418, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.951/1.951, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001477/0.001477, allocations: 67.91 kB / 0.673 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.324, allocations: 114.5 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.006169/0.3302, allocations: 2.114 MB / 0.7869 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3961/0.7263, allocations: 1.09 MB / 0.788 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003119/0.7267, allocations: 5.094 kB / 0.788 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004275/0.7271, allocations: 99.38 kB / 0.7881 GB, free: 46.55 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.000324/0.7275, allocations: 93.47 kB / 0.7881 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.728, allocations: 162.7 kB / 0.7883 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.7283, allocations: 342.9 kB / 0.7886 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.7286, allocations: 114.3 kB / 0.7887 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.7287, allocations: 138.3 kB / 0.7889 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.7289, allocations: 146 kB / 0.789 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.853e-05/0.7289, allocations: 29.84 kB / 0.789 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.7291, allocations: 68.94 kB / 0.7891 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.112e-05/0.7292, allocations: 91.73 kB / 0.7892 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.7293, allocations: 142.1 kB / 0.7893 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004147/0.7297, allocations: 478.6 kB / 0.7898 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7298, allocations: 0 / 0.7898 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.835e-06/0.7298, allocations: 0 / 0.7898 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.7298, allocations: 2.719 kB / 0.7898 GB, free: 46.38 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.0008956/0.7307, allocations: 0.625 MB / 0.7904 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.7307, allocations: 7.875 kB / 0.7904 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.645e-05/0.7308, allocations: 38.84 kB / 0.7904 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.7312, allocations: 352.5 kB / 0.7908 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.7313, allocations: 17.86 kB / 0.7908 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.7313, allocations: 25.75 kB / 0.7908 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.7316, allocations: 190.8 kB / 0.791 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.7316, allocations: 0 / 0.791 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.7317, allocations: 6.562 kB / 0.791 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.7317, allocations: 5.25 kB / 0.791 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/0.7319, allocations: 129.4 kB / 0.7911 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009195/0.7328, allocations: 0.664 MB / 0.7918 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.7332, allocations: 194 kB / 0.792 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.7334, allocations: 69 kB / 0.792 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.7334, allocations: 6.531 kB / 0.792 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.7336, allocations: 123.1 kB / 0.7922 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 2.655e-06/0.7336, allocations: 0.5625 kB / 0.7922 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0004931/0.7341, allocations: 251.6 kB / 0.7924 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.7342, allocations: 56.09 kB / 0.7925 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.7345, allocations: 378.6 kB / 0.7928 GB, free: 45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.7345, allocations: 32.77 kB / 0.7928 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.93e-05/0.7346, allocations: 174.7 kB / 0.793 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.7347, allocations: 51.31 kB / 0.7931 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.805e-05/0.7348, allocations: 73.81 kB / 0.7931 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.915e-05/0.7349, allocations: 338.2 kB / 0.7935 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.735, allocations: 94.56 kB / 0.7935 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.7352, allocations: 150 kB / 0.7937 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.7355, allocations: 147.9 kB / 0.7938 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.7355, allocations: 0 / 0.7938 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003954/0.7359, allocations: 282.1 kB / 0.7941 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.7359, allocations: 6.781 kB / 0.7941 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.7359, allocations: 0 / 0.7941 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.7359, allocations: 5.938 kB / 0.7941 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.7361, allocations: 36.91 kB / 0.7941 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.7361, allocations: 2.344 kB / 0.7941 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.7363, allocations: 38.75 kB / 0.7942 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.7363, allocations: 10.28 kB / 0.7942 GB, free: 44.39 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.0001408/0.7365, allocations: 174.6 kB / 0.7944 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.7365, allocations: 29.25 kB / 0.7944 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.942e-05/0.7366, allocations: 36.39 kB / 0.7944 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.7366, allocations: 0 / 0.7944 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.7366, allocations: 0 / 0.7944 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.7366, allocations: 7.219 kB / 0.7944 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.7369, allocations: 328.9 kB / 0.7947 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.7369, allocations: 0 / 0.7947 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.654e-05/0.737, allocations: 17.73 kB / 0.7948 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.737, allocations: 0 / 0.7948 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.737, allocations: 12.78 kB / 0.7948 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.737, allocations: 0 / 0.7948 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.737, allocations: 1.312 kB / 0.7948 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.7373, allocations: 217.1 kB / 0.795 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.7374, allocations: 111.9 kB / 0.7951 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.7374, allocations: 6.375 kB / 0.7951 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.7375, allocations: 22.55 kB / 0.7951 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.762e-05/0.7376, allocations: 32.27 kB / 0.7951 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.7376, allocations: 7.312 kB / 0.7952 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001856/0.7378, allocations: 241.2 kB / 0.7954 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7378, allocations: 0 / 0.7954 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002822/0.7381, allocations: 67.55 kB / 0.7954 GB, free: 43.77 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.001039/0.7392, allocations: 435.4 kB / 0.7959 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003805/0.7396, allocations: 201 kB / 0.7961 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7396, allocations: 0 / 0.7961 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.7397, allocations: 83.69 kB / 0.7961 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.7401, allocations: 50.17 kB / 0.7962 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007231/0.7408, allocations: 492.3 kB / 0.7967 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.741, allocations: 0.777 MB / 0.7974 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001108/0.7411, allocations: 44.38 kB / 0.7975 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.486e-05/0.7412, allocations: 30.45 kB / 0.7975 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.7412, allocations: 3.5 kB / 0.7975 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of Templates: time 0.008442/0.7497, allocations: 3.662 MB / 0.8011 GB, free: 42.53 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)