Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IDEAS_dev_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.004755/0.004755, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001271/0.001271, allocations: 189.4 kB / 16.67 MB, free: 5.973 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7538/0.7538, allocations: 135.1 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 69.08 kB / 0.5852 GB, free: 21.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1229, allocations: 80.9 MB / 0.6642 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.0026/0.1255, allocations: 1.628 MB / 0.6658 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.1271, allocations: 1.16 MB / 0.6669 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.068e-05/0.1272, allocations: 4 kB / 0.6669 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001979/0.1274, allocations: 23.84 kB / 0.6669 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.1277, allocations: 59.69 kB / 0.667 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.128, allocations: 143.2 kB / 0.6671 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002562/0.1283, allocations: 233.6 kB / 0.6673 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.332e-05/0.1284, allocations: 12.28 kB / 0.6673 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.901e-05/0.1285, allocations: 79.81 kB / 0.6674 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.1287, allocations: 91.66 kB / 0.6675 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.1288, allocations: 16 kB / 0.6675 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.1289, allocations: 83.95 kB / 0.6676 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.935e-05/0.129, allocations: 75.81 kB / 0.6677 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.927e-05/0.1291, allocations: 99.39 kB / 0.6678 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.1294, allocations: 274.8 kB / 0.668 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1295, allocations: 4 kB / 0.668 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1295, allocations: 0 / 0.668 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.1295, allocations: 0 / 0.668 GB, free: 2.293 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.0007018/0.1302, allocations: 0.5341 MB / 0.6686 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1302, allocations: 13.11 kB / 0.6686 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.996e-05/0.1303, allocations: 50.67 kB / 0.6686 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.882e-05/0.1304, allocations: 32.75 kB / 0.6686 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.1306, allocations: 267.9 kB / 0.6689 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1307, allocations: 16.3 kB / 0.6689 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.1307, allocations: 16.38 kB / 0.6689 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.131, allocations: 213.2 kB / 0.6691 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.131, allocations: 0 / 0.6691 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.1311, allocations: 16 kB / 0.6692 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1311, allocations: 0 / 0.6692 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008071/0.1319, allocations: 0.7295 MB / 0.6699 GB, free: 312 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007822/0.1327, allocations: 0.5591 MB / 0.6704 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004707/0.1332, allocations: 297 kB / 0.6707 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.1333, allocations: 105.4 kB / 0.6708 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.509e-05/0.1334, allocations: 24.23 kB / 0.6708 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003015/0.1337, allocations: 180.9 kB / 0.671 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 1.834e-06/0.1337, allocations: 0 / 0.671 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34): time 0.0006513/0.1344, allocations: 370.7 kB / 0.6713 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/0.1344, allocations: 132.5 kB / 0.6715 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.1347, allocations: 300 kB / 0.6718 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.1348, allocations: 33.7 kB / 0.6718 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.1348, allocations: 120.8 kB / 0.6719 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.1349, allocations: 119 kB / 0.672 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.079e-05/0.135, allocations: 61.69 kB / 0.6721 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1352, allocations: 342.8 kB / 0.6724 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.1353, allocations: 87.88 kB / 0.6725 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.1355, allocations: 119.4 kB / 0.6726 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/0.1359, allocations: 221.3 kB / 0.6728 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1359, allocations: 3.938 kB / 0.6728 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004311/0.1363, allocations: 277.3 kB / 0.6731 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1363, allocations: 9.812 kB / 0.6731 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1363, allocations: 4 kB / 0.6731 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1364, allocations: 0 / 0.6731 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.1366, allocations: 59.91 kB / 0.6732 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1366, allocations: 0 / 0.6732 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.1368, allocations: 31.88 kB / 0.6732 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.1368, allocations: 15.94 kB / 0.6732 GB, free: 12.73 MB / 0.5137 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.0001458/0.1369, allocations: 165.7 kB / 0.6734 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.137, allocations: 27.81 kB / 0.6734 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006623/0.1377, allocations: 380.7 kB / 0.6737 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1377, allocations: 4 kB / 0.6737 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1377, allocations: 0 / 0.6737 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1377, allocations: 0 / 0.6737 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.138, allocations: 333.3 kB / 0.6741 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.138, allocations: 0 / 0.6741 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.1382, allocations: 59.91 kB / 0.6741 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1382, allocations: 4 kB / 0.6741 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.1382, allocations: 12 kB / 0.6741 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1382, allocations: 0 / 0.6741 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1382, allocations: 0 / 0.6741 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004653/0.1387, allocations: 325.8 kB / 0.6744 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.1388, allocations: 140.8 kB / 0.6746 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.1389, allocations: 8 kB / 0.6746 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.139, allocations: 11.98 kB / 0.6746 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.1391, allocations: 27.97 kB / 0.6746 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.1391, allocations: 15.98 kB / 0.6746 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002029/0.1394, allocations: 237.5 kB / 0.6749 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1394, allocations: 0 / 0.6749 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000283/0.1396, allocations: 59.98 kB / 0.6749 GB, free: 10.85 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.001486/0.1411, allocations: 1.16 MB / 0.6761 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003855/0.1415, allocations: 228.1 kB / 0.6763 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1415, allocations: 0 / 0.6763 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.1417, allocations: 131.8 kB / 0.6764 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.142, allocations: 39.25 kB / 0.6764 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.1447, allocations: 2.465 MB / 0.6788 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.145, allocations: 0.7535 MB / 0.6796 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003093/0.1453, allocations: 146.9 kB / 0.6797 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.1455, allocations: 91.39 kB / 0.6798 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of SimCode: time 1.563e-06/0.1455, allocations: 0 / 0.6798 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.1681, allocations: 5.441 MB / 0.6851 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.365/7.533, allocations: 9.438 kB / 0.6851 GB, free: 0.5078 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)