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.00129/0.00129, allocations: 103.5 kB / 16.36 MB, free: 6.309 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.001266/0.001266, allocations: 188 kB / 17.29 MB, free: 5.875 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.378/1.378, 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.778/1.778, 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.001465/0.001465, allocations: 75.02 kB / 0.673 GB, free: 5.777 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2461, allocations: 114.6 MB / 0.7848 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.003881/0.25, allocations: 2.111 MB / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4478/0.6978, allocations: 1.09 MB / 0.788 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003068/0.6982, allocations: 2.312 kB / 0.788 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004278/0.6986, allocations: 92.81 kB / 0.7881 GB, free: 47.1 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.0003232/0.699, allocations: 101.1 kB / 0.7881 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.6994, allocations: 160 kB / 0.7883 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003234/0.6998, allocations: 337.4 kB / 0.7886 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.7, allocations: 120.8 kB / 0.7887 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.7002, allocations: 140 kB / 0.7889 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.7003, allocations: 144.2 kB / 0.789 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.902e-05/0.7004, allocations: 29.72 kB / 0.789 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.7005, allocations: 68.39 kB / 0.7891 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.247e-05/0.7006, allocations: 94.33 kB / 0.7892 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.7008, allocations: 140.2 kB / 0.7893 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004065/0.7012, allocations: 481.4 kB / 0.7898 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.7012, allocations: 0 / 0.7898 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7012, allocations: 1 kB / 0.7898 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.7012, allocations: 0.7812 kB / 0.7898 GB, free: 46.92 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.0009108/0.7021, allocations: 0.6268 MB / 0.7904 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.7022, allocations: 10.5 kB / 0.7904 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.7022, allocations: 36.22 kB / 0.7904 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.7026, allocations: 364 kB / 0.7908 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.7027, allocations: 12.47 kB / 0.7908 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.7027, allocations: 21.66 kB / 0.7908 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.703, allocations: 191.6 kB / 0.791 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.703, allocations: 4.312 kB / 0.791 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.7031, allocations: 3.938 kB / 0.791 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.7031, allocations: 5.406 kB / 0.791 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.7033, allocations: 126.8 kB / 0.7911 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008702/0.7042, allocations: 0.6678 MB / 0.7918 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/0.7046, allocations: 198 kB / 0.792 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.7047, allocations: 66.38 kB / 0.792 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.7048, allocations: 4.25 kB / 0.792 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/0.705, allocations: 125.1 kB / 0.7922 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.954e-06/0.705, allocations: 0 / 0.7922 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0005135/0.7055, allocations: 250.4 kB / 0.7924 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.7056, allocations: 56.28 kB / 0.7925 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.7059, allocations: 382.6 kB / 0.7928 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.7059, allocations: 32.58 kB / 0.7929 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.706, allocations: 174.8 kB / 0.793 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.7061, allocations: 48.42 kB / 0.7931 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.43e-05/0.7062, allocations: 74.44 kB / 0.7931 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.715e-05/0.7062, allocations: 344.7 kB / 0.7935 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.7064, allocations: 91.25 kB / 0.7936 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.7066, allocations: 141.5 kB / 0.7937 GB, free: 45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.7068, allocations: 149.3 kB / 0.7938 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7068, allocations: 4.188 kB / 0.7938 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003757/0.7072, allocations: 276.3 kB / 0.7941 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.7072, allocations: 6.938 kB / 0.7941 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.7072, allocations: 1 kB / 0.7941 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.7073, allocations: 0 / 0.7941 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.7074, allocations: 40.59 kB / 0.7941 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.7074, allocations: 3.438 kB / 0.7942 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.7076, allocations: 37.06 kB / 0.7942 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.7076, allocations: 9.844 kB / 0.7942 GB, free: 44.93 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.0001324/0.7078, allocations: 172.5 kB / 0.7944 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.7078, allocations: 27.5 kB / 0.7944 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.611e-05/0.7079, allocations: 32.83 kB / 0.7944 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.7079, allocations: 3.438 kB / 0.7944 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.7079, allocations: 2.938 kB / 0.7944 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.7079, allocations: 6.609 kB / 0.7944 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.7082, allocations: 324.9 kB / 0.7947 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.7082, allocations: 3.438 kB / 0.7947 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.345e-05/0.7083, allocations: 18.14 kB / 0.7948 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.7083, allocations: 4 kB / 0.7948 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.7083, allocations: 2.391 kB / 0.7948 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7083, allocations: 0 / 0.7948 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7083, allocations: 3.969 kB / 0.7948 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.7086, allocations: 229 kB / 0.795 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.7087, allocations: 106.4 kB / 0.7951 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.7087, allocations: 7.344 kB / 0.7951 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.7088, allocations: 14.05 kB / 0.7951 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.492e-05/0.7089, allocations: 35.75 kB / 0.7951 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.7089, allocations: 15.88 kB / 0.7952 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001896/0.7091, allocations: 235.4 kB / 0.7954 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7091, allocations: 0 / 0.7954 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002806/0.7094, allocations: 60.28 kB / 0.7954 GB, free: 44.31 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.001005/0.7104, allocations: 429.7 kB / 0.7959 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003831/0.7108, allocations: 211.1 kB / 0.7961 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7108, allocations: 2.25 kB / 0.7961 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.711, allocations: 81.19 kB / 0.7961 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.7113, allocations: 53.67 kB / 0.7962 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007963/0.7121, allocations: 0.5222 MB / 0.7967 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.7124, allocations: 0.7804 MB / 0.7975 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.306e-05/0.7125, allocations: 31.03 kB / 0.7975 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.7125, allocations: 0 / 0.7975 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of Templates: time 0.007704/0.7202, allocations: 4.168 MB / 0.8016 GB, free: 42.93 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)