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.001321/0.001321, allocations: 108 kB / 15.61 MB, free: 152 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.001618/0.001617, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.517/1.517, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.728/1.728, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001617/0.001617, allocations: 64.25 kB / 0.6716 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3249, allocations: 114.5 MB / 0.7834 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.003777/0.3287, allocations: 2.116 MB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.3307, allocations: 1.097 MB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.3309, allocations: 4 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000423/0.3313, allocations: 83.52 kB / 0.7866 GB, free: 10.12 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.0004147/0.3318, allocations: 103.4 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.3323, allocations: 166.9 kB / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004918/0.3328, allocations: 327.8 kB / 0.7872 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003816/0.3332, allocations: 130.6 kB / 0.7873 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002948/0.3335, allocations: 139.4 kB / 0.7875 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.3338, allocations: 147.3 kB / 0.7876 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.271e-05/0.3339, allocations: 28 kB / 0.7876 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.3341, allocations: 67.97 kB / 0.7877 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.3342, allocations: 91.73 kB / 0.7878 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.3344, allocations: 143.1 kB / 0.7879 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005291/0.3349, allocations: 470.7 kB / 0.7884 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3349, allocations: 0 / 0.7884 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3349, allocations: 0 / 0.7884 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.3349, allocations: 4 kB / 0.7884 GB, free: 8.34 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.001082/0.336, allocations: 0.6266 MB / 0.789 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3361, allocations: 8.031 kB / 0.789 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.355e-05/0.3362, allocations: 36.47 kB / 0.789 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/0.3366, allocations: 352.2 kB / 0.7894 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.3367, allocations: 24.25 kB / 0.7894 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.3367, allocations: 19.94 kB / 0.7894 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.3371, allocations: 185.3 kB / 0.7896 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3371, allocations: 0 / 0.7896 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.3371, allocations: 8 kB / 0.7896 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.3371, allocations: 4 kB / 0.7896 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002592/0.3374, allocations: 132.6 kB / 0.7897 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.3385, allocations: 0.6678 MB / 0.7904 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004552/0.339, allocations: 194.8 kB / 0.7906 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.3391, allocations: 72.83 kB / 0.7906 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.3392, allocations: 4 kB / 0.7906 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.3394, allocations: 123.3 kB / 0.7907 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.522e-06/0.3394, allocations: 0 / 0.7907 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0005235/0.34, allocations: 251.8 kB / 0.791 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.34, allocations: 55.39 kB / 0.791 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003909/0.3404, allocations: 384.4 kB / 0.7914 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.3404, allocations: 29.7 kB / 0.7914 GB, free: 5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.3406, allocations: 176.4 kB / 0.7916 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.341e-05/0.3406, allocations: 51.34 kB / 0.7917 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.3408, allocations: 61.69 kB / 0.7917 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3409, allocations: 338.8 kB / 0.792 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.3411, allocations: 91.97 kB / 0.7921 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.3413, allocations: 148.2 kB / 0.7923 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.3416, allocations: 161.6 kB / 0.7924 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3416, allocations: 0 / 0.7924 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004563/0.342, allocations: 273.2 kB / 0.7927 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.3421, allocations: 7.938 kB / 0.7927 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3421, allocations: 0 / 0.7927 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.3421, allocations: 4 kB / 0.7927 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.3423, allocations: 40.02 kB / 0.7927 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.3423, allocations: 7.922 kB / 0.7927 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.3425, allocations: 31.83 kB / 0.7928 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.3425, allocations: 4 kB / 0.7928 GB, free: 3.586 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.000177/0.3427, allocations: 175.5 kB / 0.7929 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.3427, allocations: 23.72 kB / 0.793 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.107e-05/0.3428, allocations: 38.36 kB / 0.793 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.3428, allocations: 4 kB / 0.793 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.3428, allocations: 3.938 kB / 0.793 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.3429, allocations: 0 / 0.793 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.3432, allocations: 337.3 kB / 0.7933 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3432, allocations: 0 / 0.7933 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.36e-05/0.3433, allocations: 15.94 kB / 0.7933 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3433, allocations: 3.938 kB / 0.7933 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.3433, allocations: 11.98 kB / 0.7934 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3433, allocations: 0 / 0.7934 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3433, allocations: 7.938 kB / 0.7934 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.3437, allocations: 215.3 kB / 0.7936 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.973e-05/0.3437, allocations: 104.8 kB / 0.7937 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.3438, allocations: 7.938 kB / 0.7937 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.3439, allocations: 11.98 kB / 0.7937 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.98e-05/0.344, allocations: 39.89 kB / 0.7937 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.344, allocations: 7.984 kB / 0.7937 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002319/0.3443, allocations: 239.1 kB / 0.794 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3443, allocations: 0 / 0.794 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002867/0.3446, allocations: 67.83 kB / 0.794 GB, free: 2.203 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.001065/0.3456, allocations: 429.3 kB / 0.7944 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004437/0.3461, allocations: 222.3 kB / 0.7946 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3461, allocations: 0 / 0.7946 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.3463, allocations: 87.91 kB / 0.7947 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.3466, allocations: 46.53 kB / 0.7948 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008331/0.3474, allocations: 0.4887 MB / 0.7953 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.3478, allocations: 0.7792 MB / 0.796 GB, free: 284 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001166/0.3479, allocations: 42.27 kB / 0.7961 GB, free: 236 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.819e-05/0.348, allocations: 31.42 kB / 0.7961 GB, free: 204 kB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.348, allocations: 0 / 0.7961 GB, free: 204 kB / 0.6075 GB Notification: Performance of Templates: time 0.007785/0.3558, allocations: 3.667 MB / 0.7997 GB, free: 12.57 MB / 0.6231 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)