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.006889/0.006889, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.001812/0.001812, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.769/0.769, allocations: 135.1 MB / 425.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 66.36 kB / 0.5852 GB, free: 21.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1229, allocations: 80.91 MB / 0.6642 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002748/0.1257, allocations: 1.632 MB / 0.6658 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.1273, allocations: 1.156 MB / 0.6669 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.17e-05/0.1273, allocations: 0 / 0.6669 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.1276, allocations: 31.78 kB / 0.6669 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002646/0.1278, allocations: 59.7 kB / 0.667 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.1282, allocations: 143.1 kB / 0.6671 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.1285, allocations: 225.6 kB / 0.6673 GB, free: 3 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.673e-05/0.1286, allocations: 24.27 kB / 0.6674 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.79e-05/0.1287, allocations: 71.89 kB / 0.6674 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.1289, allocations: 91.7 kB / 0.6675 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.1289, allocations: 16 kB / 0.6675 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.1291, allocations: 79.89 kB / 0.6676 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.016e-05/0.1292, allocations: 83.75 kB / 0.6677 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.441e-05/0.1293, allocations: 99.39 kB / 0.6678 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.1296, allocations: 278.8 kB / 0.668 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1296, allocations: 0 / 0.668 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1296, allocations: 0 / 0.668 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.1296, allocations: 4 kB / 0.668 GB, free: 2.266 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.0007132/0.1304, allocations: 0.5302 MB / 0.6686 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1304, allocations: 13.11 kB / 0.6686 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.237e-05/0.1305, allocations: 50.73 kB / 0.6686 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.146e-05/0.1305, allocations: 28.75 kB / 0.6686 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.1308, allocations: 263.8 kB / 0.6689 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.1308, allocations: 20.34 kB / 0.6689 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.1309, allocations: 12.38 kB / 0.6689 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.1312, allocations: 225.2 kB / 0.6691 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1313, allocations: 0 / 0.6691 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.1313, allocations: 4 kB / 0.6692 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.1313, allocations: 4 kB / 0.6692 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000799/0.1321, allocations: 0.7334 MB / 0.6699 GB, free: 288 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008213/0.1329, allocations: 0.5513 MB / 0.6704 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004632/0.1334, allocations: 308.9 kB / 0.6707 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.1336, allocations: 105.4 kB / 0.6708 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.607e-05/0.1336, allocations: 20.23 kB / 0.6708 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003202/0.134, allocations: 176.9 kB / 0.671 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 1.713e-06/0.134, allocations: 0 / 0.671 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34): time 0.000647/0.1346, allocations: 374.6 kB / 0.6713 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/0.1347, allocations: 132.5 kB / 0.6715 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.135, allocations: 300 kB / 0.6718 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.135, allocations: 37.7 kB / 0.6718 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.052e-05/0.1351, allocations: 116.8 kB / 0.6719 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.655e-05/0.1352, allocations: 119 kB / 0.672 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-05/0.1353, allocations: 61.69 kB / 0.6721 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1354, allocations: 338.8 kB / 0.6724 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.1355, allocations: 87.95 kB / 0.6725 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.1357, allocations: 127.4 kB / 0.6726 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.136, allocations: 217.3 kB / 0.6728 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.1361, allocations: 0 / 0.6728 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004286/0.1365, allocations: 281.3 kB / 0.6731 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1365, allocations: 4 kB / 0.6731 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1365, allocations: 3.938 kB / 0.6731 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1365, allocations: 8 kB / 0.6731 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.1368, allocations: 63.84 kB / 0.6732 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.1368, allocations: 4 kB / 0.6732 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.1369, allocations: 23.88 kB / 0.6732 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.137, allocations: 11.94 kB / 0.6732 GB, free: 12.7 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.0001431/0.1371, allocations: 165.7 kB / 0.6734 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.1372, allocations: 27.81 kB / 0.6734 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006515/0.1378, allocations: 380.8 kB / 0.6737 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1379, allocations: 4 kB / 0.6738 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1379, allocations: 0 / 0.6738 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1379, allocations: 4 kB / 0.6738 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.1382, allocations: 325.3 kB / 0.6741 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1382, allocations: 7.938 kB / 0.6741 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.1384, allocations: 51.98 kB / 0.6741 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.1384, allocations: 3.984 kB / 0.6741 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.1384, allocations: 8 kB / 0.6741 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.1384, allocations: 4 kB / 0.6741 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1384, allocations: 0 / 0.6741 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/0.1389, allocations: 333.8 kB / 0.6745 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.139, allocations: 144.8 kB / 0.6746 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.1391, allocations: 8 kB / 0.6746 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.1392, allocations: 18.66 kB / 0.6746 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.1393, allocations: 19.97 kB / 0.6746 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.1393, allocations: 12 kB / 0.6746 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001936/0.1395, allocations: 237.5 kB / 0.6749 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1395, allocations: 0 / 0.6749 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002893/0.1398, allocations: 56 kB / 0.6749 GB, free: 10.83 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.001474/0.1413, allocations: 1.161 MB / 0.6761 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003886/0.1417, allocations: 232 kB / 0.6763 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1417, allocations: 0 / 0.6763 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.1419, allocations: 123.9 kB / 0.6764 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.1422, allocations: 32.66 kB / 0.6764 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.1449, allocations: 2.465 MB / 0.6788 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.1452, allocations: 0.7574 MB / 0.6796 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003272/0.1456, allocations: 146.9 kB / 0.6797 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.1457, allocations: 87.41 kB / 0.6798 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.1457, allocations: 0 / 0.6798 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.1684, allocations: 5.445 MB / 0.6851 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/7.624, allocations: 11.5 kB / 0.6851 GB, free: 0.4922 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)