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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, 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.001509/0.001509, allocations: 198.2 kB / 16.64 MB, free: 6.449 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.525/1.525, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.87/1.87, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001453/0.001453, allocations: 68.11 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2912, allocations: 114.5 MB / 0.7837 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.004587/0.2958, allocations: 2.115 MB / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002794/0.2986, allocations: 1.093 MB / 0.7868 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002998/0.299, allocations: 4 kB / 0.7868 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005861/0.2996, allocations: 95.5 kB / 0.7869 GB, free: 9.863 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.0003886/0.3, allocations: 107.3 kB / 0.787 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004616/0.3004, allocations: 159.7 kB / 0.7872 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003621/0.3008, allocations: 331.9 kB / 0.7875 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002507/0.3011, allocations: 118.6 kB / 0.7876 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.3012, allocations: 139.4 kB / 0.7877 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.3014, allocations: 147.3 kB / 0.7879 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.14e-05/0.3015, allocations: 32 kB / 0.7879 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.3016, allocations: 75.97 kB / 0.788 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.749e-05/0.3017, allocations: 83.75 kB / 0.7881 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.3019, allocations: 151.1 kB / 0.7882 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004612/0.3023, allocations: 470.6 kB / 0.7886 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3023, allocations: 0 / 0.7886 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3024, allocations: 4 kB / 0.7887 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.3024, allocations: 0 / 0.7887 GB, free: 8.078 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.001262/0.3036, allocations: 0.6306 MB / 0.7893 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.3037, allocations: 11.97 kB / 0.7893 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.034e-05/0.3038, allocations: 54.73 kB / 0.7893 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.991e-05/0.3039, allocations: 36.47 kB / 0.7894 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006007/0.3045, allocations: 344.2 kB / 0.7897 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.3045, allocations: 20.12 kB / 0.7897 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.3046, allocations: 20 kB / 0.7897 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.3049, allocations: 181.3 kB / 0.7899 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.305, allocations: 4 kB / 0.7899 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.305, allocations: 8 kB / 0.7899 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.305, allocations: 8 kB / 0.7899 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.3053, allocations: 132.6 kB / 0.7901 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.3063, allocations: 0.6638 MB / 0.7907 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.3068, allocations: 194.9 kB / 0.7909 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.3069, allocations: 68.84 kB / 0.791 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.3069, allocations: 7.984 kB / 0.791 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.3072, allocations: 128.1 kB / 0.7911 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 2.465e-06/0.3072, allocations: 0 / 0.7911 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0005419/0.3077, allocations: 243.8 kB / 0.7913 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.3078, allocations: 59.34 kB / 0.7914 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.3082, allocations: 372.4 kB / 0.7917 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.3082, allocations: 33.7 kB / 0.7918 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.3084, allocations: 176.3 kB / 0.7919 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.3085, allocations: 55.34 kB / 0.792 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.776e-05/0.3086, allocations: 65.69 kB / 0.792 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3087, allocations: 342.8 kB / 0.7924 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.3089, allocations: 91.97 kB / 0.7925 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.3091, allocations: 148.2 kB / 0.7926 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.3093, allocations: 153.6 kB / 0.7927 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3094, allocations: 0 / 0.7927 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004188/0.3098, allocations: 277.2 kB / 0.793 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3098, allocations: 8 kB / 0.793 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3098, allocations: 0 / 0.793 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3098, allocations: 0 / 0.793 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.31, allocations: 35.98 kB / 0.793 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.31, allocations: 7.938 kB / 0.7931 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.3102, allocations: 35.84 kB / 0.7931 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.3102, allocations: 11.98 kB / 0.7931 GB, free: 3.262 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.0001964/0.3104, allocations: 172.8 kB / 0.7933 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.3105, allocations: 31.61 kB / 0.7933 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.595e-05/0.3106, allocations: 30.38 kB / 0.7933 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3106, allocations: 4 kB / 0.7933 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3106, allocations: 7.938 kB / 0.7933 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.3106, allocations: 3.984 kB / 0.7933 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.3109, allocations: 329.4 kB / 0.7937 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3109, allocations: 0 / 0.7937 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.599e-05/0.311, allocations: 19.92 kB / 0.7937 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.311, allocations: 0 / 0.7937 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.3111, allocations: 8 kB / 0.7937 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3111, allocations: 0 / 0.7937 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.3111, allocations: 3.938 kB / 0.7937 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.3114, allocations: 223.4 kB / 0.7939 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.899e-05/0.3115, allocations: 108.7 kB / 0.794 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.3116, allocations: 8 kB / 0.794 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3117, allocations: 19.98 kB / 0.794 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.424e-05/0.3118, allocations: 35.89 kB / 0.7941 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.3118, allocations: 8 kB / 0.7941 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002169/0.312, allocations: 235 kB / 0.7943 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.312, allocations: 0 / 0.7943 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002971/0.3123, allocations: 67.84 kB / 0.7944 GB, free: 1.879 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.001463/0.3138, allocations: 1.07 MB / 0.7954 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003934/0.3142, allocations: 204.1 kB / 0.7956 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3142, allocations: 0 / 0.7956 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.3144, allocations: 79.92 kB / 0.7957 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.3147, allocations: 58.97 kB / 0.7957 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/0.3179, allocations: 2.731 MB / 0.7984 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.3182, allocations: 0.7753 MB / 0.7992 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001329/0.3184, allocations: 50.25 kB / 0.7992 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.3185, allocations: 107.3 kB / 0.7993 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.3185, allocations: 0 / 0.7993 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/0.3454, allocations: 6.339 MB / 0.8055 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.084/8.43, allocations: 3.953 kB / 0.8055 GB, free: 6.684 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)