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.685/2.685, allocations: 287.3 MB / 302.3 MB, free: 8.301 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.001526/0.001525, allocations: 179 kB / 370.8 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.21/2.21, allocations: 205.4 MB / 0.6295 GB, free: 10.65 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.001139/0.001139, allocations: 98.56 kB / 0.7428 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007703/0.0007704, allocations: 12.91 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.00712/0.3072, allocations: 3.38 MB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00615/0.3134, allocations: 2.174 MB / 0.9838 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.3148, allocations: 31.88 kB / 0.9838 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006802/0.3156, allocations: 94.88 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.317, allocations: 147.4 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.3196, allocations: 458.4 kB / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002943/0.3226, allocations: 0.8509 MB / 0.9853 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/0.3246, allocations: 0.7093 MB / 0.986 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007861/0.3255, allocations: 338.1 kB / 0.9863 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005831/0.3261, allocations: 389.4 kB / 0.9867 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001674/0.3263, allocations: 39.94 kB / 0.9867 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.3266, allocations: 51.92 kB / 0.9868 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002221/0.3268, allocations: 171 kB / 0.9869 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002969/0.3271, allocations: 229 kB / 0.9871 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002721/0.3299, allocations: 1.718 MB / 0.9888 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3299, allocations: 0 / 0.9888 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.695e-06/0.3299, allocations: 0 / 0.9888 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.409e-05/0.33, allocations: 4 kB / 0.9888 GB, free: 17.46 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.004427/0.3344, allocations: 1.356 MB / 0.9901 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.3345, allocations: 12.02 kB / 0.9902 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005614/0.3351, allocations: 203.1 kB / 0.9903 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004871/0.3356, allocations: 162.1 kB / 0.9905 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.3375, allocations: 0.7113 MB / 0.9912 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.3378, allocations: 114.8 kB / 0.9913 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003574/0.3381, allocations: 148 kB / 0.9914 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004575/0.3427, allocations: 1.119 MB / 0.9925 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.401e-05/0.3429, allocations: 0 / 0.9925 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002431/0.3431, allocations: 60 kB / 0.9926 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-05/0.3432, allocations: 35.98 kB / 0.9926 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004521/0.3477, allocations: 0.9833 MB / 0.9936 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01113/0.3589, allocations: 3.273 MB / 0.9968 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002826/0.3618, allocations: 0.5729 MB / 0.9973 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.362, allocations: 12.8 kB / 0.9974 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001571/0.3636, allocations: 401.9 kB / 0.9977 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=74): time 5.3e-06/0.3636, allocations: 3.938 kB / 0.9977 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74): time 0.004/0.3676, allocations: 0.853 MB / 0.9986 GB, free: 7.223 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.799e-05/0.3678, allocations: 162.8 kB / 0.9987 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/0.3699, allocations: 0.8859 MB / 0.9996 GB, free: 6.117 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002327/0.3702, allocations: 45.7 kB / 0.9996 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007872/0.371, allocations: 0.5964 MB / 1 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003978/0.3715, allocations: 244.5 kB / 1 GB, free: 5.219 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.3716, allocations: 16 kB / 1 GB, free: 5.203 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.3717, allocations: 345.9 kB / 1.001 GB, free: 4.859 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.3732, allocations: 297.9 kB / 1.001 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/0.3751, allocations: 0.5075 MB / 1.002 GB, free: 3.969 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.3767, allocations: 348.7 kB / 1.002 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.3767, allocations: 3.938 kB / 1.002 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004092/0.3808, allocations: 0.9786 MB / 1.003 GB, free: 2.633 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.664e-05/0.381, allocations: 33.7 kB / 1.003 GB, free: 2.594 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.381, allocations: 8 kB / 1.003 GB, free: 2.586 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.012e-05/0.381, allocations: 12 kB / 1.003 GB, free: 2.574 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.3828, allocations: 175.7 kB / 1.003 GB, free: 2.402 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.571e-05/0.3828, allocations: 19.88 kB / 1.003 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/0.3849, allocations: 218.5 kB / 1.003 GB, free: 2.168 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/0.3851, allocations: 39.98 kB / 1.003 GB, free: 2.129 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.001/0.3861, allocations: 293.5 kB / 1.004 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00033/0.3865, allocations: 98.69 kB / 1.004 GB, free: 1.734 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002852/0.3893, allocations: 0.6533 MB / 1.004 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/0.3894, allocations: 8 kB / 1.004 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.3894, allocations: 0 / 1.004 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/0.3895, allocations: 3.984 kB / 1.004 GB, free: 1.059 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008471/0.3979, allocations: 2.435 MB / 1.007 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.347e-05/0.398, allocations: 8.125 kB / 1.007 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/0.3996, allocations: 139.8 kB / 1.007 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.63e-05/0.3996, allocations: 12 kB / 1.007 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/0.3998, allocations: 28.48 kB / 1.007 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.814e-05/0.3998, allocations: 11.94 kB / 1.007 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.68e-05/0.3998, allocations: 8 kB / 1.007 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004089/0.4039, allocations: 1.335 MB / 1.008 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004879/0.4045, allocations: 199.6 kB / 1.008 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002508/0.4048, allocations: 35.98 kB / 1.008 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.406, allocations: 59.92 kB / 1.009 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004012/0.4064, allocations: 96.16 kB / 1.009 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.4065, allocations: 28 kB / 1.009 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001794/0.4083, allocations: 0.5703 MB / 1.009 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.41e-07/0.4084, allocations: 0 / 1.009 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002173/0.4106, allocations: 243 kB / 1.009 GB, free: 11.39 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.006082/0.4167, allocations: 3.971 MB / 1.013 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003884/0.4206, allocations: 0.7872 MB / 1.014 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/0.4207, allocations: 0 / 1.014 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00241/0.4231, allocations: 428.2 kB / 1.015 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.4247, allocations: 123.3 kB / 1.015 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.4371, allocations: 6.98 MB / 1.021 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001516/0.4387, allocations: 1.108 MB / 1.023 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00131/0.44, allocations: 119.5 kB / 1.023 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/0.4415, allocations: 467.3 kB / 1.023 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of SimCode: time 1.252e-06/0.4416, allocations: 0 / 1.023 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06798/0.5095, allocations: 16.58 MB / 1.039 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003399/0.51, allocations: 236.8 kB / 1.04 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.298/3.808, allocations: 2.188 kB / 1.04 GB, free: 12.35 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)