Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_latest_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.001195/0.001195, allocations: 108 kB / 15.61 MB, free: 152 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.001298/0.001298, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.213/1.213, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.478/2.478, allocations: 469.4 MB / 0.742 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 62.84 kB / 0.9083 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2361, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002659/0.2388, allocations: 1.643 MB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.2402, allocations: 1.164 MB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.836e-05/0.2402, allocations: 0 / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.2404, allocations: 27.78 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.2406, allocations: 71.69 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.2409, allocations: 136.9 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.2412, allocations: 229.6 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.913e-05/0.2413, allocations: 28.2 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.39e-05/0.2413, allocations: 79.83 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.2415, allocations: 91.7 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.2416, allocations: 16 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.2417, allocations: 83.95 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.41e-05/0.2418, allocations: 83.75 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.686e-05/0.2419, allocations: 99.39 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.2422, allocations: 275.4 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.2422, allocations: 0 / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2422, allocations: 0 / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.2422, allocations: 4 kB / 1.068 GB, free: 10.52 MB / 0.8262 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.0006529/0.2428, allocations: 0.5384 MB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.2429, allocations: 8.031 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.745e-05/0.2429, allocations: 50.73 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.118e-05/0.243, allocations: 28.56 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.2432, allocations: 263.7 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.2433, allocations: 12.38 kB / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.2433, allocations: 12.38 kB / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.2436, allocations: 220.7 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.2436, allocations: 4 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.2436, allocations: 4 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.2437, allocations: 4 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007748/0.2444, allocations: 0.7427 MB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006873/0.2451, allocations: 0.5744 MB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/0.2456, allocations: 308 kB / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.2457, allocations: 101.4 kB / 1.07 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.2458, allocations: 24.23 kB / 1.07 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.246, allocations: 168.9 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.246, allocations: 0 / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.000586/0.2466, allocations: 374 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.2467, allocations: 136.5 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.247, allocations: 303.9 kB / 1.071 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.247, allocations: 33.7 kB / 1.071 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.2471, allocations: 124.7 kB / 1.071 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.42e-05/0.2472, allocations: 114.3 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.758e-05/0.2472, allocations: 65.69 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.2474, allocations: 338.8 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.2475, allocations: 79.95 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.2477, allocations: 124.6 kB / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.248, allocations: 217 kB / 1.072 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.248, allocations: 0 / 1.072 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003942/0.2484, allocations: 277.1 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2484, allocations: 9.703 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2484, allocations: 0 / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.2484, allocations: 4 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.2487, allocations: 63.91 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.2487, allocations: 4 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.2488, allocations: 31.7 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.2488, allocations: 12 kB / 1.073 GB, free: 4.934 MB / 0.8262 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.0001298/0.249, allocations: 157.8 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.249, allocations: 23.72 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006153/0.2497, allocations: 396.6 kB / 1.073 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2497, allocations: 4 kB / 1.073 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2497, allocations: 0 / 1.073 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.2497, allocations: 3.938 kB / 1.073 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.25, allocations: 325.3 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.25, allocations: 3.984 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.2501, allocations: 55.92 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2501, allocations: 0 / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.2502, allocations: 12.03 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2502, allocations: 8 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2502, allocations: 3.984 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004185/0.2506, allocations: 317.7 kB / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.2507, allocations: 144.7 kB / 1.074 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.2508, allocations: 4 kB / 1.074 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.2509, allocations: 15.98 kB / 1.074 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.251, allocations: 27.91 kB / 1.074 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.251, allocations: 12 kB / 1.074 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001774/0.2512, allocations: 233.8 kB / 1.074 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2512, allocations: 3.938 kB / 1.074 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002551/0.2514, allocations: 56 kB / 1.074 GB, free: 3.066 MB / 0.8262 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.001383/0.2528, allocations: 1.151 MB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004449/0.2533, allocations: 311.7 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2533, allocations: 4 kB / 1.076 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.2535, allocations: 123.8 kB / 1.076 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.2537, allocations: 41.52 kB / 1.076 GB, free: 1.562 MB / 0.8262 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.002439/0.2562, allocations: 2.438 MB / 1.078 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.2564, allocations: 0.7581 MB / 1.079 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000288/0.2567, allocations: 150.8 kB / 1.079 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.2569, allocations: 91.39 kB / 1.079 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.2569, allocations: 0 / 1.079 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5149/0.7717, allocations: 5.418 MB / 1.085 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.727/7.499, allocations: 6.094 kB / 1.085 GB, free: 8.738 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)