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.001282/0.001282, allocations: 105.4 kB / 15.7 MB, free: 24 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.001427/0.001427, allocations: 190.5 kB / 16.64 MB, free: 6.594 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.609/1.609, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.855/1.855, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.001665/0.001665, allocations: 83.06 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2584, allocations: 114.5 MB / 0.7842 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.00424/0.2627, allocations: 2.108 MB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.2649, allocations: 1.101 MB / 0.7873 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002483/0.2651, allocations: 7.938 kB / 0.7873 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004157/0.2656, allocations: 91.45 kB / 0.7874 GB, free: 9.406 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.0004146/0.266, allocations: 99.47 kB / 0.7875 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/0.2665, allocations: 163.5 kB / 0.7877 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000443/0.267, allocations: 324 kB / 0.788 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/0.2673, allocations: 127.6 kB / 0.7881 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000273/0.2676, allocations: 139.3 kB / 0.7882 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.2678, allocations: 151.3 kB / 0.7884 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.719e-05/0.2679, allocations: 28 kB / 0.7884 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.2681, allocations: 75.97 kB / 0.7885 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.2682, allocations: 87.73 kB / 0.7886 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.2683, allocations: 143.1 kB / 0.7887 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005637/0.2689, allocations: 486.3 kB / 0.7892 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.2689, allocations: 0 / 0.7892 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.055e-06/0.2689, allocations: 0 / 0.7892 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.596e-05/0.2689, allocations: 0 / 0.7892 GB, free: 7.613 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.001239/0.2702, allocations: 0.6212 MB / 0.7898 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.2702, allocations: 12.03 kB / 0.7898 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.2704, allocations: 36.47 kB / 0.7898 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005209/0.2709, allocations: 356.1 kB / 0.7901 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.2709, allocations: 20.38 kB / 0.7902 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.271, allocations: 19.94 kB / 0.7902 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.2713, allocations: 185.3 kB / 0.7904 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2713, allocations: 0 / 0.7904 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.2714, allocations: 4 kB / 0.7904 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.2714, allocations: 4 kB / 0.7904 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002602/0.2716, allocations: 132.6 kB / 0.7905 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.2728, allocations: 0.6639 MB / 0.7911 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/0.2733, allocations: 194.8 kB / 0.7913 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.2734, allocations: 68.83 kB / 0.7914 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.2735, allocations: 4 kB / 0.7914 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.2737, allocations: 123.3 kB / 0.7915 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.763e-06/0.2737, allocations: 0 / 0.7915 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0005631/0.2743, allocations: 247.6 kB / 0.7917 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.2744, allocations: 63.39 kB / 0.7918 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004242/0.2748, allocations: 376.4 kB / 0.7922 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/0.2749, allocations: 33.7 kB / 0.7922 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.275, allocations: 180.3 kB / 0.7924 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.2751, allocations: 43.36 kB / 0.7924 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.2752, allocations: 69.67 kB / 0.7925 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2753, allocations: 338.8 kB / 0.7928 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.2755, allocations: 91.97 kB / 0.7929 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.2758, allocations: 148.2 kB / 0.793 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.2761, allocations: 157.6 kB / 0.7932 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2761, allocations: 0 / 0.7932 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004749/0.2766, allocations: 273.2 kB / 0.7934 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2766, allocations: 4.031 kB / 0.7934 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.2766, allocations: 7.938 kB / 0.7935 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2766, allocations: 4 kB / 0.7935 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.2768, allocations: 27.98 kB / 0.7935 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.2768, allocations: 11.92 kB / 0.7935 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.277, allocations: 35.77 kB / 0.7935 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.277, allocations: 8 kB / 0.7935 GB, free: 2.871 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.2772, allocations: 180.2 kB / 0.7937 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.2773, allocations: 23.72 kB / 0.7937 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.101e-05/0.2774, allocations: 34.36 kB / 0.7938 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.2774, allocations: 8 kB / 0.7938 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.2774, allocations: 3.938 kB / 0.7938 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2774, allocations: 0 / 0.7938 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.2777, allocations: 341.3 kB / 0.7941 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.2777, allocations: 3.938 kB / 0.7941 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.94e-05/0.2778, allocations: 12 kB / 0.7941 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2778, allocations: 0 / 0.7941 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.2779, allocations: 15.98 kB / 0.7941 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2779, allocations: 0 / 0.7941 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.2779, allocations: 3.938 kB / 0.7941 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.2783, allocations: 219.4 kB / 0.7943 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.96e-05/0.2784, allocations: 104.8 kB / 0.7944 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/0.2784, allocations: 4 kB / 0.7945 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.2786, allocations: 15.98 kB / 0.7945 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.566e-05/0.2787, allocations: 43.83 kB / 0.7945 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.2787, allocations: 7.984 kB / 0.7945 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002421/0.2789, allocations: 235.1 kB / 0.7947 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2789, allocations: 0 / 0.7947 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003162/0.2793, allocations: 67.83 kB / 0.7948 GB, free: 1.48 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.001038/0.2803, allocations: 425.8 kB / 0.7952 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004282/0.2807, allocations: 204 kB / 0.7954 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2808, allocations: 4 kB / 0.7954 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.2809, allocations: 82.72 kB / 0.7955 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.2813, allocations: 51.86 kB / 0.7955 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008764/0.2822, allocations: 492.3 kB / 0.796 GB, free: 392 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.2826, allocations: 0.7753 MB / 0.7968 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.2827, allocations: 50.25 kB / 0.7968 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.771e-05/0.2828, allocations: 27.42 kB / 0.7968 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.2828, allocations: 0 / 0.7968 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.008825/0.2917, allocations: 3.655 MB / 0.8004 GB, free: 11.88 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)