Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.448/1.448, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001329/0.00133, allocations: 187.3 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.4 MB / 0.5775 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008229/0.0008231, allocations: 82.38 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003827, allocations: 9.625 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2353, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.001794/0.2372, allocations: 1.457 MB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005332/0.2377, allocations: 296 kB / 0.9019 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.861e-05/0.2378, allocations: 4 kB / 0.9019 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.314e-05/0.2378, allocations: 11.86 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.238, allocations: 27.91 kB / 0.9019 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.2382, allocations: 63.84 kB / 0.902 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.2383, allocations: 140.3 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.2385, allocations: 81.58 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.2386, allocations: 79.67 kB / 0.9023 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.2387, allocations: 95.45 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.2387, allocations: 8 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.249e-05/0.2388, allocations: 8 kB / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.661e-05/0.2388, allocations: 39.83 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.595e-05/0.2389, allocations: 61.56 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.239, allocations: 255.6 kB / 0.9027 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2391, allocations: 0 / 0.9027 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2391, allocations: 4 kB / 0.9027 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2391, allocations: 0 / 0.9027 GB, free: 61.18 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008899/0.24, allocations: 0.5296 MB / 0.9033 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.24, allocations: 8.031 kB / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.498e-05/0.2401, allocations: 54.55 kB / 0.9033 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.499e-05/0.2401, allocations: 31.67 kB / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.2404, allocations: 242.7 kB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.2404, allocations: 16 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.2405, allocations: 23.98 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.2409, allocations: 217.4 kB / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.241, allocations: 0 / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.241, allocations: 15.97 kB / 0.9038 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.241, allocations: 4 kB / 0.9038 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004958/0.2415, allocations: 199.9 kB / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009303/0.2424, allocations: 0.6443 MB / 0.9047 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005733/0.243, allocations: 234.4 kB / 0.9049 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.2431, allocations: 4 kB / 0.9049 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004186/0.2435, allocations: 179.5 kB / 0.9051 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.2435, allocations: 0 / 0.9051 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.0008146/0.2443, allocations: 344 kB / 0.9054 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.2444, allocations: 59.39 kB / 0.9054 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.2445, allocations: 210.2 kB / 0.9056 GB, free: 58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.2446, allocations: 33.7 kB / 0.9057 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.446e-05/0.2446, allocations: 148.3 kB / 0.9058 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.2447, allocations: 43.44 kB / 0.9059 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/0.2447, allocations: 8 kB / 0.9059 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.2448, allocations: 330.8 kB / 0.9062 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.245, allocations: 107.9 kB / 0.9063 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.2453, allocations: 151.4 kB / 0.9064 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.2456, allocations: 100.9 kB / 0.9065 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2456, allocations: 0 / 0.9065 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005892/0.2462, allocations: 285.2 kB / 0.9068 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2462, allocations: 4 kB / 0.9068 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.2462, allocations: 3.938 kB / 0.9068 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.2462, allocations: 4 kB / 0.9068 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.2465, allocations: 47.91 kB / 0.9069 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2465, allocations: 0 / 0.9069 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.2467, allocations: 67.78 kB / 0.9069 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.2468, allocations: 4 kB / 0.9069 GB, free: 56.64 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition2,$whenCondition1,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.y,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,$PRE.uCoo.T_start,uCoo.T_start,$PRE.uCoo.count,uCoo.count,$PRE.uHea.T_start,uHea.T_start,$PRE.uHea.count,uHea.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.2469, allocations: 151.6 kB / 0.9071 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.2469, allocations: 19.77 kB / 0.9071 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.822e-05/0.247, allocations: 29.86 kB / 0.9071 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.247, allocations: 4 kB / 0.9071 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.247, allocations: 0 / 0.9071 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.247, allocations: 0 / 0.9071 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.2472, allocations: 301.3 kB / 0.9074 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2472, allocations: 0 / 0.9074 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.2474, allocations: 31.98 kB / 0.9074 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2474, allocations: 3.953 kB / 0.9074 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.2474, allocations: 7.984 kB / 0.9075 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2474, allocations: 4 kB / 0.9075 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2474, allocations: 3.938 kB / 0.9075 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005357/0.248, allocations: 272.7 kB / 0.9077 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.248, allocations: 92.92 kB / 0.9078 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.2481, allocations: 8 kB / 0.9078 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.2483, allocations: 51.91 kB / 0.9079 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.2484, allocations: 51.91 kB / 0.9079 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.2484, allocations: 8 kB / 0.9079 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.507e-05/0.2485, allocations: 135.2 kB / 0.9081 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2485, allocations: 4 kB / 0.9081 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002257/0.2487, allocations: 51.84 kB / 0.9081 GB, free: 55.35 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$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,uCoo.T_start,uCoo.count,uHea.T_start,uHea.count) * Number of discrete states: 5 (uCoo.count,uHea.count,zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007268/0.2495, allocations: 0.8205 MB / 0.9089 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005677/0.2501, allocations: 250 kB / 0.9091 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2501, allocations: 4 kB / 0.9091 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.2503, allocations: 119.9 kB / 0.9093 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.2506, allocations: 23.16 kB / 0.9093 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.2526, allocations: 1.29 MB / 0.9105 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.2527, allocations: 0.7401 MB / 0.9113 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.149e-05/0.2528, allocations: 21.95 kB / 0.9113 GB, free: 51.99 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.253, allocations: 71.39 kB / 0.9114 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.253, allocations: 0 / 0.9114 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01414/0.2671, allocations: 4.268 MB / 0.9155 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/0.2673, allocations: 225.1 kB / 0.9157 GB, free: 47.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.093, allocations: 0 / 0.9157 GB, free: 47.63 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)