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.001217/0.001218, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.222/1.222, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.323/2.323, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001183, allocations: 59.91 kB / 0.8694 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4879/0.4891, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002766/0.4919, allocations: 1.629 MB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.4934, allocations: 1.171 MB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.78e-05/0.4935, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.4936, allocations: 23.84 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.4939, allocations: 67.64 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.4942, allocations: 139.5 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.4945, allocations: 229.6 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.792e-05/0.4946, allocations: 24.19 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.268e-05/0.4947, allocations: 75.83 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.4949, allocations: 91.77 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/0.4949, allocations: 20 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.495, allocations: 79.97 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.355e-05/0.4951, allocations: 83.69 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.126e-05/0.4952, allocations: 103.4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.4955, allocations: 281.4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4955, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4955, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.4955, allocations: 0 / 1.021 GB, free: 14.47 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.0006447/0.4962, allocations: 0.5305 MB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.4962, allocations: 16.03 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.061e-05/0.4963, allocations: 50.73 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.213e-05/0.4964, allocations: 28.66 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.4966, allocations: 271.5 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.4966, allocations: 12.38 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.4967, allocations: 20.31 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.497, allocations: 212.7 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.497, allocations: 4 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.497, allocations: 12 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.497, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007444/0.4978, allocations: 0.7334 MB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006731/0.4984, allocations: 0.5744 MB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004227/0.4989, allocations: 295.7 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.499, allocations: 105.4 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.4991, allocations: 24.19 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.4994, allocations: 180.9 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.4994, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.000586/0.5, allocations: 365.2 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.5, allocations: 136.5 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.5003, allocations: 300 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.5003, allocations: 29.7 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.5004, allocations: 132.6 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.579e-05/0.5004, allocations: 114.4 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.638e-05/0.5005, allocations: 61.69 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.26e-05/0.5006, allocations: 338.8 kB / 1.026 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.5008, allocations: 79.95 kB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.5009, allocations: 128.5 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.5012, allocations: 217 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5012, allocations: 0 / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004027/0.5016, allocations: 277.1 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.5017, allocations: 7.938 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.5017, allocations: 7.938 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.5017, allocations: 0 / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.5019, allocations: 55.97 kB / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.5019, allocations: 0 / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.502, allocations: 39.77 kB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.5021, allocations: 11.94 kB / 1.026 GB, free: 8.879 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.000126/0.5022, allocations: 161.8 kB / 1.027 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.867e-05/0.5023, allocations: 27.7 kB / 1.027 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006058/0.5029, allocations: 385.5 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.5029, allocations: 4 kB / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.5029, allocations: 0 / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.5029, allocations: 3.938 kB / 1.027 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.5032, allocations: 333.2 kB / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5032, allocations: 3.938 kB / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.5033, allocations: 59.91 kB / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.5034, allocations: 4 kB / 1.027 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.5034, allocations: 8 kB / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.5034, allocations: 0 / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5034, allocations: 0 / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.5038, allocations: 325.7 kB / 1.028 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.5039, allocations: 140.6 kB / 1.028 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.095e-05/0.504, allocations: 12 kB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.5041, allocations: 13.67 kB / 1.028 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.5042, allocations: 31.84 kB / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.5042, allocations: 15.98 kB / 1.028 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001658/0.5044, allocations: 225.6 kB / 1.028 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5044, allocations: 8 kB / 1.028 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002645/0.5046, allocations: 63.98 kB / 1.028 GB, free: 6.992 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.001335/0.506, allocations: 1.148 MB / 1.029 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004594/0.5064, allocations: 307.8 kB / 1.03 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.5065, allocations: 4 kB / 1.03 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.5066, allocations: 131.8 kB / 1.03 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.5069, allocations: 29.73 kB / 1.03 GB, free: 5.504 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.002464/0.5094, allocations: 2.442 MB / 1.032 GB, free: 2.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.5096, allocations: 0.7535 MB / 1.033 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002806/0.5099, allocations: 142.9 kB / 1.033 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.51, allocations: 103.3 kB / 1.033 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.51, allocations: 0 / 1.033 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.482/0.992, allocations: 5.418 MB / 1.038 GB, free: 12.68 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.683/7.675, allocations: 11.03 kB / 1.038 GB, free: 12.68 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv --start-time 0 --stop-time 432000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)