Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.701/1.701, allocations: 285.4 MB / 298 MB, free: 5.961 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.0009992/0.0009993, allocations: 180.8 kB / 366.4 MB, free: 2.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.886/1.886, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0008939/0.000894, allocations: 96.8 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.786e-05/3.786e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9453/0.9454, allocations: 115.3 MB / 0.971 GB, free: 77.94 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2309/1.176, allocations: 146.8 MB / 1.114 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/1.177, allocations: 75.91 kB / 1.114 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03359/1.21, allocations: 12.36 MB / 1.126 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.054e-06/1.21, allocations: 0 / 1.126 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.875e-05/1.21, allocations: 20 kB / 1.126 GB, free: 8.629 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001681/1.212, allocations: 0.9321 MB / 1.127 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/1.212, allocations: 12.03 kB / 1.127 GB, free: 7.629 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/1.212, allocations: 102.5 kB / 1.128 GB, free: 7.52 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/1.212, allocations: 90.88 kB / 1.128 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008418/1.213, allocations: 0.4886 MB / 1.128 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.909e-05/1.213, allocations: 49.31 kB / 1.128 GB, free: 6.855 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/1.213, allocations: 68 kB / 1.128 GB, free: 6.789 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009859/1.214, allocations: 0.5803 MB / 1.129 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/1.215, allocations: 0 / 1.129 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-05/1.215, allocations: 28 kB / 1.129 GB, free: 6.156 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/1.215, allocations: 12 kB / 1.129 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007214/1.215, allocations: 401.1 kB / 1.129 GB, free: 5.75 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002976/1.218, allocations: 2.091 MB / 1.131 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/1.22, allocations: 0.8635 MB / 1.132 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/1.22, allocations: 216.7 kB / 1.132 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.53e-05/1.221, allocations: 12.38 kB / 1.132 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004778/1.221, allocations: 270.5 kB / 1.133 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 3.116e-06/1.221, allocations: 0 / 1.133 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.00087/1.222, allocations: 453.5 kB / 1.133 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/1.222, allocations: 111.4 kB / 1.133 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005901/1.223, allocations: 481 kB / 1.134 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.619e-05/1.223, allocations: 45.7 kB / 1.134 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/1.223, allocations: 332.8 kB / 1.134 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/1.223, allocations: 177.5 kB / 1.134 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/1.223, allocations: 14.25 kB / 1.134 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.223, allocations: 378.8 kB / 1.134 GB, free: 172 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/1.224, allocations: 177.4 kB / 1.135 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/1.224, allocations: 325.9 kB / 1.135 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/1.224, allocations: 228.9 kB / 1.135 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.224, allocations: 0 / 1.135 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001009/1.225, allocations: 0.5936 MB / 1.136 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003178/1.226, allocations: 0.7343 MB / 1.136 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/1.226, allocations: 7.984 kB / 1.136 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/1.226, allocations: 4 kB / 1.136 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/1.226, allocations: 103.8 kB / 1.137 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/1.226, allocations: 4 kB / 1.137 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004992/1.227, allocations: 119.5 kB / 1.137 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/1.227, allocations: 31.98 kB / 1.137 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/1.227, allocations: 1.094 kB / 1.137 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007999/1.228, allocations: 0.5214 MB / 1.137 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.228, allocations: 7.953 kB / 1.137 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.201e-06/1.228, allocations: 4 kB / 1.137 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/1.228, allocations: 91.83 kB / 1.137 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/1.228, allocations: 4 kB / 1.137 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/1.228, allocations: 103.8 kB / 1.137 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/1.229, allocations: 23.98 kB / 1.137 GB, free: 12.97 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,$PRE.optSta.hysSta.greHys.y,optSta.hysSta.greHys.y,optSta.falEdg.y,$PRE.optSta.falEdg.not_u,optSta.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.occSch.tNext,occSch.tNext,$PRE.pul.booPul.y,pul.booPul.y,booToRea1.u,TRoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.0001567/1.229, allocations: 154.5 kB / 1.138 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.999e-05/1.229, allocations: 64.56 kB / 1.138 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/1.229, allocations: 78.52 kB / 1.138 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/1.229, allocations: 8 kB / 1.138 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/1.229, allocations: 0 / 1.138 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/1.229, allocations: 3.984 kB / 1.138 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/1.231, allocations: 1.224 MB / 1.139 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.231, allocations: 0 / 1.139 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/1.231, allocations: 87.89 kB / 1.139 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/1.231, allocations: 4 kB / 1.139 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/1.231, allocations: 15.98 kB / 1.139 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/1.231, allocations: 1.797 kB / 1.139 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.231, allocations: 4 kB / 1.139 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/1.232, allocations: 0.8036 MB / 1.14 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/1.232, allocations: 148.2 kB / 1.14 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.762e-05/1.232, allocations: 12 kB / 1.14 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/1.233, allocations: 43.62 kB / 1.14 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.408e-05/1.233, allocations: 44.38 kB / 1.14 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/1.233, allocations: 22.42 kB / 1.14 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004142/1.233, allocations: 365.6 kB / 1.14 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.61e-07/1.233, allocations: 0 / 1.14 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007441/1.234, allocations: 287.1 kB / 1.141 GB, free: 9.512 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,optSta.hysSta.greHys.y,optSta.falEdg.y,optSta.falEdg.not_u,occSch.occupied,occSch.tOcc,occSch.tNonOcc,occSch.tNext,pul.booPul.y) * Number of discrete states: 3 (occSch.tNext,optSta.hysSta.greHys.y,optSta.falEdg.not_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001529/1.236, allocations: 1.545 MB / 1.142 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001349/1.237, allocations: 0.9137 MB / 1.143 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.237, allocations: 0 / 1.143 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003133/1.237, allocations: 218.5 kB / 1.143 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000593/1.238, allocations: 104.8 kB / 1.143 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/1.24, allocations: 0.9855 MB / 1.144 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/1.24, allocations: 0.9316 MB / 1.145 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004617/1.241, allocations: 113.2 kB / 1.145 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003226/1.241, allocations: 251.3 kB / 1.146 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/1.241, allocations: 4 kB / 1.146 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03172/1.273, allocations: 14.04 MB / 1.159 GB, free: 6.645 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/1.273, allocations: 192.6 kB / 1.16 GB, free: 6.418 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.448/3.721, allocations: 4.062 kB / 1.16 GB, free: 6.414 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling_fmu --startTime=0 --stopTime=2.4192e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1)