Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001365, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 191.8 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.244/2.244, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 59.91 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4623/0.4634, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002362/0.4658, allocations: 1.694 MB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.4671, allocations: 1.14 MB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/0.4671, allocations: 3.938 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.4673, allocations: 23.88 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.4675, allocations: 55.81 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.4678, allocations: 121.7 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.468, allocations: 237.6 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.293e-05/0.4681, allocations: 20.2 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.773e-05/0.4682, allocations: 79.77 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.4684, allocations: 93.48 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.4684, allocations: 16 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.4685, allocations: 83.95 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.896e-05/0.4686, allocations: 87.69 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.137e-05/0.4687, allocations: 107.4 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.469, allocations: 277.4 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.469, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.469, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.469, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006253/0.4696, allocations: 0.5344 MB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.4697, allocations: 12.03 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/0.4697, allocations: 46.73 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.4698, allocations: 28.66 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.47, allocations: 271.6 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.47, allocations: 8.375 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.4701, allocations: 16.38 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.4704, allocations: 224.6 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.4704, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.4704, allocations: 8 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4704, allocations: 4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007386/0.4712, allocations: 0.7373 MB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006888/0.4719, allocations: 0.5744 MB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/0.4723, allocations: 295.6 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.4724, allocations: 109.4 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.4725, allocations: 16.25 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002755/0.4728, allocations: 184.8 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 1.503e-06/0.4728, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0005595/0.4733, allocations: 357.2 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.4734, allocations: 136.5 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.4736, allocations: 300 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.4737, allocations: 37.7 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.4737, allocations: 124.7 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.409e-05/0.4738, allocations: 118.4 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-05/0.4739, allocations: 65.62 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.474, allocations: 338.8 kB / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.4741, allocations: 83.89 kB / 1.025 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.4743, allocations: 120.6 kB / 1.025 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.4746, allocations: 225 kB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4746, allocations: 0 / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003796/0.475, allocations: 277.1 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.475, allocations: 4 kB / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.475, allocations: 0 / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.475, allocations: 4 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.4752, allocations: 67.89 kB / 1.026 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.4752, allocations: 0 / 1.026 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.4754, allocations: 25.75 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.4754, allocations: 15.98 kB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.4755, allocations: 161.8 kB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.4756, allocations: 23.72 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005992/0.4762, allocations: 385.5 kB / 1.027 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.4762, allocations: 4 kB / 1.027 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4762, allocations: 0 / 1.027 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.4762, allocations: 11.92 kB / 1.027 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.4765, allocations: 329.2 kB / 1.027 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4765, allocations: 0 / 1.027 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.4767, allocations: 59.91 kB / 1.027 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.4767, allocations: 4 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.4767, allocations: 11.98 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4767, allocations: 0 / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.4767, allocations: 0 / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.4771, allocations: 325.7 kB / 1.027 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.653e-05/0.4772, allocations: 144.6 kB / 1.027 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.4773, allocations: 8 kB / 1.027 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.4774, allocations: 11.98 kB / 1.027 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.4774, allocations: 27.91 kB / 1.027 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.4775, allocations: 12 kB / 1.027 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001665/0.4776, allocations: 233.6 kB / 1.028 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4776, allocations: 3.938 kB / 1.028 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002461/0.4779, allocations: 56 kB / 1.028 GB, free: 7.188 MB / 0.7794 GB 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001277/0.4792, allocations: 1.16 MB / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004353/0.4796, allocations: 303.9 kB / 1.029 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4796, allocations: 0 / 1.029 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.4798, allocations: 131.8 kB / 1.029 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.48, allocations: 41.28 kB / 1.029 GB, free: 5.684 MB / 0.7794 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.4824, allocations: 2.505 MB / 1.032 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.4827, allocations: 0.7574 MB / 1.033 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002684/0.483, allocations: 142.9 kB / 1.033 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.4831, allocations: 99.39 kB / 1.033 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.4831, allocations: 4 kB / 1.033 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8367/1.32, allocations: 5.336 MB / 1.038 GB, free: 12.91 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/1.32, allocations: 268.8 kB / 1.038 GB, free: 12.55 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/3.171, allocations: 0 / 1.038 GB, free: 12.55 MB / 0.795 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)