Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.588/2.588, allocations: 287.5 MB / 302.4 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001355/0.001353, allocations: 178.6 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.178/2.178, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000936/0.0009358, allocations: 92.84 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004994/0.0004995, allocations: 11.69 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2143, allocations: 115.3 MB / 0.9785 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.004992/0.2193, allocations: 3.321 MB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004607/0.224, allocations: 2.194 MB / 0.9839 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.2251, allocations: 27.88 kB / 0.9839 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006079/0.2257, allocations: 138.5 kB / 0.9841 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006435/0.2264, allocations: 79.23 kB / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.228, allocations: 438.7 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002059/0.2301, allocations: 1.358 MB / 0.9859 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.2315, allocations: 0.7054 MB / 0.9866 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005623/0.2321, allocations: 334.1 kB / 0.9869 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000408/0.2325, allocations: 397.3 kB / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.2326, allocations: 36 kB / 0.9873 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.2328, allocations: 43.98 kB / 0.9873 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.233, allocations: 175 kB / 0.9875 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.2332, allocations: 229 kB / 0.9877 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.235, allocations: 1.71 MB / 0.9894 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.235, allocations: 0 / 0.9894 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.244e-06/0.235, allocations: 4 kB / 0.9894 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.851e-05/0.2351, allocations: 0 / 0.9894 GB, free: 16.98 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 361 * Number of variables: 361 Notification: Performance of Generate backend data structure: time 0.003028/0.2381, allocations: 1.356 MB / 0.9907 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.2382, allocations: 16.02 kB / 0.9907 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003159/0.2385, allocations: 207 kB / 0.9909 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003011/0.2388, allocations: 162.1 kB / 0.9911 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.2401, allocations: 0.7152 MB / 0.9918 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.2403, allocations: 118.8 kB / 0.9919 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002288/0.2405, allocations: 148 kB / 0.992 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002945/0.2434, allocations: 1.131 MB / 0.9931 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.297e-05/0.2435, allocations: 3.984 kB / 0.9931 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/0.2437, allocations: 64 kB / 0.9932 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.2437, allocations: 32 kB / 0.9932 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00287/0.2466, allocations: 0.9755 MB / 0.9942 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007363/0.254, allocations: 3.273 MB / 0.9974 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.2559, allocations: 0.566 MB / 0.9979 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008042/0.2567, allocations: 262.8 kB / 0.9982 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-05/0.2568, allocations: 8.656 kB / 0.9982 GB, free: 7.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/0.2579, allocations: 409.8 kB / 0.9986 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=74): time 3.667e-06/0.258, allocations: 0 / 0.9986 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74): time 0.002673/0.2606, allocations: 0.8496 MB / 0.9994 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.196e-05/0.2608, allocations: 170.7 kB / 0.9996 GB, free: 6.266 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.2623, allocations: 0.8898 MB / 1 GB, free: 5.352 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001947/0.2626, allocations: 37.7 kB / 1 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005369/0.2631, allocations: 0.6008 MB / 1.001 GB, free: 4.699 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.2634, allocations: 240.5 kB / 1.001 GB, free: 4.461 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.009e-05/0.2635, allocations: 28 kB / 1.001 GB, free: 4.434 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.104e-05/0.2636, allocations: 341.9 kB / 1.002 GB, free: 4.094 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009893/0.2646, allocations: 293.9 kB / 1.002 GB, free: 3.809 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.2657, allocations: 0.5114 MB / 1.002 GB, free: 3.203 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009725/0.2667, allocations: 352.7 kB / 1.003 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.2667, allocations: 0 / 1.003 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002605/0.2694, allocations: 0.9704 MB / 1.004 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.083e-05/0.2695, allocations: 41.69 kB / 1.004 GB, free: 1.828 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.2695, allocations: 8 kB / 1.004 GB, free: 1.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.05e-05/0.2695, allocations: 12.5 kB / 1.004 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.2707, allocations: 179.7 kB / 1.004 GB, free: 1.633 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.4e-05/0.2708, allocations: 12 kB / 1.004 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.2723, allocations: 218.5 kB / 1.004 GB, free: 1.406 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002785/0.2726, allocations: 40 kB / 1.004 GB, free: 1.367 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition1,$whenCondition2,actAirSet_RehBox1.conInt4.y,actAirSet_RehBox1.conInt3.y,actAirSet_RehBox1.conInt2.y,actAirSet_RehBox1.conInt1.y,actAirSet_RehBox1.conInt.y,actAirSet_RehBox.conInt4.y,actAirSet_RehBox.conInt3.y,actAirSet_RehBox.conInt2.y,actAirSet_RehBox.conInt1.y,actAirSet_RehBox.conInt.y,actAirSet_RehBox.not1.y,$PRE.actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox1.not1.y,$PRE.actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox1.greThr.greHys.y,$PRE.winSta.y,winSta.y,actAirSet_RehBox1.intEqu4.y,actAirSet_RehBox1.intEqu3.y,actAirSet_RehBox1.intEqu2.y,actAirSet_RehBox1.intEqu1.y,actAirSet_RehBox1.swi3.u2,actAirSet_RehBox1.greThr1.y,actAirSet_RehBox1.gre.y,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.greThr1.y,actAirSet_RehBox.gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 1 * 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.001359/0.274, allocations: 297.5 kB / 1.004 GB, free: 1.066 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004032/0.2745, allocations: 106.6 kB / 1.005 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003448/0.2779, allocations: 0.6456 MB / 1.005 GB, free: 308 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/0.278, allocations: 8 kB / 1.005 GB, free: 300 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.278, allocations: 0 / 1.005 GB, free: 300 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.107e-05/0.2781, allocations: 11.98 kB / 1.005 GB, free: 288 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/0.2882, allocations: 2.427 MB / 1.008 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-05/0.2883, allocations: 8 kB / 1.008 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/0.29, allocations: 140.5 kB / 1.008 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-05/0.29, allocations: 15.94 kB / 1.008 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/0.2902, allocations: 24 kB / 1.008 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.235e-05/0.2902, allocations: 19.92 kB / 1.008 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.045e-05/0.2903, allocations: 15.89 kB / 1.008 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003797/0.2941, allocations: 0.9753 MB / 1.009 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004732/0.2946, allocations: 199.6 kB / 1.009 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002777/0.2949, allocations: 20 kB / 1.009 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/0.2962, allocations: 67.95 kB / 1.009 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003585/0.2966, allocations: 96.16 kB / 1.009 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.2968, allocations: 32 kB / 1.009 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001742/0.2985, allocations: 0.5626 MB / 1.01 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.42e-07/0.2986, allocations: 0 / 1.01 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001883/0.3005, allocations: 247 kB / 1.01 GB, free: 11.16 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox1.greThr.greHys.y,winSta.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 2 (actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox.greThr.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.004375/0.3049, allocations: 1.555 MB / 1.011 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003881/0.3088, allocations: 0.7833 MB / 1.012 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.65e-05/0.3089, allocations: 4 kB / 1.012 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002571/0.3115, allocations: 432.1 kB / 1.013 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/0.3135, allocations: 135.3 kB / 1.013 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02737/0.3409, allocations: 6.023 MB / 1.019 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/0.3424, allocations: 1.085 MB / 1.02 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001367/0.3439, allocations: 119.5 kB / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/0.3454, allocations: 467.3 kB / 1.02 GB, free: 20 kB / 0.6355 GB Notification: Performance of SimCode: time 2.394e-06/0.3455, allocations: 0 / 1.02 GB, free: 20 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06591/0.4114, allocations: 17.05 MB / 1.037 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003715/0.4118, allocations: 240.1 kB / 1.037 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.188/3.6, allocations: 4 kB / 1.037 GB, free: 15.02 MB / 0.6667 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow.fmu > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)