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.572/2.572, allocations: 284.7 MB / 297.2 MB, free: 6.375 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.001477/0.001477, allocations: 180.8 kB / 365.6 MB, free: 2.629 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.116/2.116, allocations: 205.1 MB / 0.624 GB, free: 8.258 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 96.78 kB / 0.7371 GB, free: 40.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.428e-05/4.444e-05, allocations: 4 kB / 0.8575 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8249/0.825, allocations: 115.2 MB / 0.97 GB, free: 78.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2516/1.077, allocations: 141.6 MB / 1.108 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003477/1.077, allocations: 79.42 kB / 1.108 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.08502/1.162, allocations: 17.62 MB / 1.126 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.624e-06/1.162, allocations: 7.938 kB / 1.126 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001805/1.162, allocations: 32 kB / 1.126 GB, free: 9.285 MB / 0.7292 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.005399/1.168, allocations: 1.295 MB / 1.127 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.896e-05/1.168, allocations: 8.031 kB / 1.127 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008193/1.169, allocations: 204.3 kB / 1.127 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006727/1.169, allocations: 162 kB / 1.127 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002939/1.172, allocations: 0.6919 MB / 1.128 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002887/1.173, allocations: 118.8 kB / 1.128 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005466/1.173, allocations: 140 kB / 1.128 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004424/1.178, allocations: 1.09 MB / 1.129 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.533e-05/1.178, allocations: 0 / 1.129 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/1.178, allocations: 56 kB / 1.129 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/1.178, allocations: 32 kB / 1.129 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003136/1.181, allocations: 0.9095 MB / 1.13 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01057/1.192, allocations: 3.497 MB / 1.134 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001977/1.194, allocations: 0.5745 MB / 1.134 GB, free: 328 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000737/1.195, allocations: 243.2 kB / 1.134 GB, free: 84 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/1.195, allocations: 17.3 kB / 1.134 GB, free: 68 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/1.196, allocations: 409.5 kB / 1.135 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=74): time 3.948e-06/1.196, allocations: 0 / 1.135 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of matching and sorting (n=74): time 0.001926/1.198, allocations: 0.6234 MB / 1.135 GB, free: 15 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/1.198, allocations: 214.2 kB / 1.136 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/1.2, allocations: 0.921 MB / 1.136 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002357/1.201, allocations: 49.7 kB / 1.137 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007417/1.201, allocations: 0.5532 MB / 1.137 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004042/1.202, allocations: 240.5 kB / 1.137 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.941e-05/1.202, allocations: 16 kB / 1.137 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001796/1.202, allocations: 337.9 kB / 1.138 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008906/1.203, allocations: 261.6 kB / 1.138 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009996/1.204, allocations: 372.2 kB / 1.138 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008533/1.205, allocations: 291.7 kB / 1.139 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/1.205, allocations: 0 / 1.139 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002401/1.207, allocations: 0.8051 MB / 1.139 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.276e-05/1.207, allocations: 33.7 kB / 1.139 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/1.207, allocations: 4.062 kB / 1.139 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/1.207, allocations: 4 kB / 1.139 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/1.209, allocations: 135.8 kB / 1.139 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.132e-05/1.209, allocations: 5.375 kB / 1.139 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/1.21, allocations: 206.6 kB / 1.14 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/1.21, allocations: 31.98 kB / 1.14 GB, free: 10.42 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,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.and1.u1,actAirSet_RehBox1.and1.u2,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.and1.u1,actAirSet_RehBox.and1.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.000315/1.211, allocations: 155.9 kB / 1.14 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/1.211, allocations: 118.5 kB / 1.14 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/1.213, allocations: 0.6314 MB / 1.141 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/1.213, allocations: 8 kB / 1.141 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/1.213, allocations: 6.906 kB / 1.141 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/1.213, allocations: 3.984 kB / 1.141 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006133/1.219, allocations: 2.551 MB / 1.143 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/1.219, allocations: 8.188 kB / 1.143 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/1.22, allocations: 135.8 kB / 1.143 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.487e-05/1.22, allocations: 12 kB / 1.143 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-05/1.221, allocations: 23.98 kB / 1.143 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.987e-05/1.221, allocations: 14.34 kB / 1.143 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.507e-05/1.221, allocations: 11.94 kB / 1.143 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002908/1.224, allocations: 1.361 MB / 1.145 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007326/1.224, allocations: 219.5 kB / 1.145 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004507/1.225, allocations: 24 kB / 1.145 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/1.226, allocations: 67.95 kB / 1.145 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002993/1.226, allocations: 100.1 kB / 1.145 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.111e-05/1.226, allocations: 28 kB / 1.145 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001649/1.228, allocations: 0.6889 MB / 1.146 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.11e-07/1.228, allocations: 0 / 1.146 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001311/1.229, allocations: 215.5 kB / 1.146 GB, free: 3.609 MB / 0.7448 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) * 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.004161/1.233, allocations: 3.974 MB / 1.15 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002175/1.236, allocations: 0.6959 MB / 1.15 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/1.236, allocations: 4 kB / 1.15 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001466/1.237, allocations: 418.3 kB / 1.151 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/1.238, allocations: 133.1 kB / 1.151 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005384/1.244, allocations: 1.619 MB / 1.153 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009985/1.245, allocations: 1.109 MB / 1.154 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0007995/1.246, allocations: 119.9 kB / 1.154 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/1.247, allocations: 475.3 kB / 1.154 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of SimCode: time 1.763e-06/1.247, allocations: 3.938 kB / 1.154 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08178/1.329, allocations: 18.52 MB / 1.172 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003509/1.329, allocations: 205.5 kB / 1.173 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.343/4.672, allocations: 2.031 kB / 1.173 GB, free: 8.277 MB / 0.7761 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)