Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008495/0.0008528, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5005/0.5005, allocations: 90.91 MB / 99.34 MB, free: 2.203 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 221.5 MB / 343.2 MB, free: 1.566 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009516/0.0009517, allocations: 98.7 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.025e-05/2.029e-05, allocations: 7.125 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.123, allocations: 72.31 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4475/0.5706, allocations: 104.4 MB / 0.6556 GB, free: 5.93 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.5709, allocations: 99.31 kB / 0.6557 GB, free: 5.875 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01965/0.5905, allocations: 7.897 MB / 0.6634 GB, free: 15.43 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5906, allocations: 0 / 0.6634 GB, free: 15.43 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.5906, allocations: 8 kB / 0.6634 GB, free: 15.43 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005794/0.5912, allocations: 487.1 kB / 0.6638 GB, free: 14.92 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.5912, allocations: 8.031 kB / 0.6638 GB, free: 14.91 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.028e-05/0.5913, allocations: 36.55 kB / 0.6639 GB, free: 14.88 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.5916, allocations: 258.5 kB / 0.6641 GB, free: 14.61 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.5917, allocations: 4 kB / 0.6641 GB, free: 14.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.5917, allocations: 15.98 kB / 0.6641 GB, free: 14.59 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008153/0.5925, allocations: 0.7243 MB / 0.6649 GB, free: 13.95 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.5928, allocations: 187.9 kB / 0.665 GB, free: 13.78 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.5928, allocations: 0 / 0.665 GB, free: 13.78 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.5928, allocations: 0 / 0.665 GB, free: 13.78 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.5928, allocations: 7.953 kB / 0.665 GB, free: 13.77 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007386/0.5936, allocations: 0.5268 MB / 0.6656 GB, free: 13.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003585/0.594, allocations: 272.4 kB / 0.6658 GB, free: 13.09 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.5941, allocations: 94.02 kB / 0.6659 GB, free: 13.03 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.476e-05/0.5942, allocations: 20.19 kB / 0.6659 GB, free: 13.01 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.5944, allocations: 159 kB / 0.6661 GB, free: 12.88 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.5944, allocations: 0 / 0.6661 GB, free: 12.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004368/0.5948, allocations: 271.6 kB / 0.6663 GB, free: 12.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.5949, allocations: 132.5 kB / 0.6665 GB, free: 12.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.5952, allocations: 244 kB / 0.6667 GB, free: 12.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.5952, allocations: 25.7 kB / 0.6667 GB, free: 12.27 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.5953, allocations: 128.1 kB / 0.6668 GB, free: 12.16 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.744e-05/0.5954, allocations: 106.6 kB / 0.6669 GB, free: 12.07 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.5954, allocations: 4 kB / 0.6669 GB, free: 12.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.5955, allocations: 340.3 kB / 0.6673 GB, free: 11.74 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.5956, allocations: 68.17 kB / 0.6673 GB, free: 11.69 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.5957, allocations: 118.6 kB / 0.6674 GB, free: 11.59 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.5959, allocations: 100.4 kB / 0.6675 GB, free: 11.52 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5959, allocations: 0 / 0.6675 GB, free: 11.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003408/0.5962, allocations: 254.2 kB / 0.6678 GB, free: 11.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.5963, allocations: 8 kB / 0.6678 GB, free: 11.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.5963, allocations: 0 / 0.6678 GB, free: 11.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.5963, allocations: 0 / 0.6678 GB, free: 11.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.5965, allocations: 66.83 kB / 0.6679 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.5965, allocations: 7.953 kB / 0.6679 GB, free: 11.24 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.5967, allocations: 15.84 kB / 0.6679 GB, free: 11.22 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.5967, allocations: 11.98 kB / 0.6679 GB, free: 11.21 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 9.092e-05/0.5968, allocations: 116.5 kB / 0.668 GB, free: 11.09 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003531/0.5972, allocations: 262.4 kB / 0.6683 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.5972, allocations: 23.72 kB / 0.6683 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005751/0.5978, allocations: 361 kB / 0.6686 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.5978, allocations: 4 kB / 0.6686 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5978, allocations: 0 / 0.6686 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5978, allocations: 3.938 kB / 0.6686 GB, free: 10.56 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.5981, allocations: 293.7 kB / 0.6689 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5981, allocations: 4 kB / 0.6689 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.5983, allocations: 59.09 kB / 0.669 GB, free: 10.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.5983, allocations: 4 kB / 0.669 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.5983, allocations: 7.984 kB / 0.669 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.5983, allocations: 4 kB / 0.669 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.5983, allocations: 3.953 kB / 0.669 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.5987, allocations: 310 kB / 0.6693 GB, free: 9.938 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.5989, allocations: 152.8 kB / 0.6694 GB, free: 9.785 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.5989, allocations: 7.938 kB / 0.6694 GB, free: 9.777 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.5991, allocations: 11.98 kB / 0.6694 GB, free: 9.766 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.5991, allocations: 23.47 kB / 0.6695 GB, free: 9.746 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.5992, allocations: 19.44 kB / 0.6695 GB, free: 9.73 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001718/0.5993, allocations: 210.5 kB / 0.6697 GB, free: 9.57 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5994, allocations: 0 / 0.6697 GB, free: 9.57 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002947/0.5997, allocations: 55.5 kB / 0.6697 GB, free: 9.52 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * 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.001342/0.601, allocations: 1.068 MB / 0.6708 GB, free: 8.566 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003135/0.6013, allocations: 208.6 kB / 0.671 GB, free: 8.414 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6013, allocations: 4 kB / 0.671 GB, free: 8.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.6015, allocations: 120.1 kB / 0.6711 GB, free: 8.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.6017, allocations: 26.47 kB / 0.6711 GB, free: 8.297 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000777/0.6025, allocations: 453.1 kB / 0.6716 GB, free: 7.875 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.6028, allocations: 0.7554 MB / 0.6723 GB, free: 7.094 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003691/0.6032, allocations: 155.1 kB / 0.6724 GB, free: 6.941 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.6033, allocations: 95.39 kB / 0.6725 GB, free: 6.898 MB / 474.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6033, allocations: 0 / 0.6725 GB, free: 6.898 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2336/0.8369, allocations: 4.969 MB / 0.6774 GB, free: 1.961 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/0.8372, allocations: 188 kB / 0.6776 GB, free: 1.77 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.646, allocations: 0 / 0.6776 GB, free: 1.77 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)