Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IDEAS_IDEAS_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.004681/0.004681, allocations: 100.2 kB / 15.73 MB, free: 6.047 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.001774/0.001774, allocations: 195.4 kB / 16.67 MB, free: 5.949 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.207/1.207, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7228/0.7228, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 62.3 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1252, allocations: 80.2 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002897/0.1281, allocations: 1.617 MB / 0.6608 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.1297, allocations: 1.164 MB / 0.6619 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.581e-05/0.1298, allocations: 4 kB / 0.6619 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.13, allocations: 27.83 kB / 0.662 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.1303, allocations: 59.7 kB / 0.662 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.1306, allocations: 135.1 kB / 0.6621 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.1309, allocations: 233.6 kB / 0.6624 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.947e-05/0.131, allocations: 20.27 kB / 0.6624 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.1311, allocations: 75.83 kB / 0.6625 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.1313, allocations: 95.7 kB / 0.6625 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.955e-05/0.1314, allocations: 16 kB / 0.6626 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.1315, allocations: 71.98 kB / 0.6626 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.803e-05/0.1316, allocations: 75.8 kB / 0.6627 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.492e-05/0.1317, allocations: 103.4 kB / 0.6628 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.132, allocations: 282.8 kB / 0.6631 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.132, allocations: 0 / 0.6631 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.132, allocations: 0 / 0.6631 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.132, allocations: 0 / 0.6631 GB, free: 6.777 MB / 0.4981 GB 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.0006955/0.1327, allocations: 0.538 MB / 0.6636 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.1328, allocations: 8.031 kB / 0.6636 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.796e-05/0.1328, allocations: 50.69 kB / 0.6636 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.763e-05/0.1329, allocations: 32.73 kB / 0.6637 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.1332, allocations: 268.9 kB / 0.6639 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.1332, allocations: 12.31 kB / 0.6639 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.1332, allocations: 16.38 kB / 0.664 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.1336, allocations: 214 kB / 0.6642 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1336, allocations: 3.984 kB / 0.6642 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.1336, allocations: 8 kB / 0.6642 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1336, allocations: 4 kB / 0.6642 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007813/0.1344, allocations: 0.7334 MB / 0.6649 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007784/0.1352, allocations: 0.5591 MB / 0.6654 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004471/0.1356, allocations: 299.6 kB / 0.6657 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.1358, allocations: 101.4 kB / 0.6658 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.1358, allocations: 20.23 kB / 0.6658 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002979/0.1361, allocations: 184.8 kB / 0.666 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.533e-06/0.1361, allocations: 0 / 0.666 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006116/0.1368, allocations: 377.3 kB / 0.6664 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.1368, allocations: 132.5 kB / 0.6665 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.1371, allocations: 296.1 kB / 0.6668 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.1371, allocations: 29.7 kB / 0.6668 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.509e-05/0.1372, allocations: 124.8 kB / 0.6669 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.874e-05/0.1373, allocations: 119 kB / 0.6671 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.662e-05/0.1374, allocations: 65.69 kB / 0.6671 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1375, allocations: 342.7 kB / 0.6674 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.1376, allocations: 83.95 kB / 0.6675 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.1378, allocations: 127.2 kB / 0.6676 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.1382, allocations: 217.3 kB / 0.6679 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1382, allocations: 0 / 0.6679 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004461/0.1386, allocations: 277.2 kB / 0.6681 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.1386, allocations: 4 kB / 0.6681 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1386, allocations: 4 kB / 0.6681 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1387, allocations: 3.984 kB / 0.6681 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.1389, allocations: 71.91 kB / 0.6682 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1389, allocations: 0 / 0.6682 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.139, allocations: 23.88 kB / 0.6682 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.1391, allocations: 19.94 kB / 0.6682 GB, free: 1.195 MB / 0.4981 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.0001374/0.1392, allocations: 158.6 kB / 0.6684 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.1393, allocations: 27.81 kB / 0.6684 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006283/0.1399, allocations: 381.6 kB / 0.6688 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1399, allocations: 4 kB / 0.6688 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1399, allocations: 3.984 kB / 0.6688 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1399, allocations: 0 / 0.6688 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.1402, allocations: 337.2 kB / 0.6691 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1402, allocations: 0 / 0.6691 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.1404, allocations: 55.91 kB / 0.6692 GB, free: 188 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1404, allocations: 7.938 kB / 0.6692 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.1404, allocations: 11.98 kB / 0.6692 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1404, allocations: 0 / 0.6692 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1404, allocations: 0 / 0.6692 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000437/0.1409, allocations: 326.1 kB / 0.6695 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.141, allocations: 144.8 kB / 0.6696 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.1411, allocations: 11.98 kB / 0.6696 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.1412, allocations: 11.98 kB / 0.6697 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.1413, allocations: 23.97 kB / 0.6697 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.1413, allocations: 15.94 kB / 0.6697 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001849/0.1415, allocations: 237.5 kB / 0.6699 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1415, allocations: 0 / 0.6699 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002654/0.1418, allocations: 56 kB / 0.67 GB, free: 15.32 MB / 0.5137 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.001412/0.1432, allocations: 1.155 MB / 0.6711 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003676/0.1436, allocations: 232.3 kB / 0.6713 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1436, allocations: 0 / 0.6713 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.1438, allocations: 131.8 kB / 0.6714 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.144, allocations: 38.08 kB / 0.6715 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.1464, allocations: 2.457 MB / 0.6739 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.1467, allocations: 0.7535 MB / 0.6746 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002855/0.147, allocations: 146.9 kB / 0.6748 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.1471, allocations: 87.39 kB / 0.6748 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1471, allocations: 0 / 0.6748 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.1711, allocations: 5.451 MB / 0.6802 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.194/7.365, allocations: 8 kB / 0.6802 GB, free: 5.02 MB / 0.5137 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)