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.004754/0.004754, allocations: 102.1 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.001312/0.001313, allocations: 192.3 kB / 16.68 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8383/0.8383, allocations: 135.6 MB / 426.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 77.94 kB / 0.5858 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1395, allocations: 81.01 MB / 0.6649 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003073/0.1426, allocations: 1.617 MB / 0.6665 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001775/0.1444, allocations: 1.163 MB / 0.6676 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.296e-05/0.1445, allocations: 4 kB / 0.6676 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.1447, allocations: 23.86 kB / 0.6676 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.145, allocations: 63.69 kB / 0.6677 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003813/0.1454, allocations: 131.6 kB / 0.6678 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.1457, allocations: 233.6 kB / 0.668 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.499e-05/0.1458, allocations: 16.28 kB / 0.668 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.146, allocations: 75.88 kB / 0.6681 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.1462, allocations: 97.38 kB / 0.6682 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.1463, allocations: 16 kB / 0.6682 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.1464, allocations: 79.95 kB / 0.6683 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.1465, allocations: 75.81 kB / 0.6684 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.1466, allocations: 99.39 kB / 0.6685 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.147, allocations: 278.8 kB / 0.6687 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.147, allocations: 4 kB / 0.6687 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1471, allocations: 4 kB / 0.6687 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.1471, allocations: 3.984 kB / 0.6687 GB, free: 1.758 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.0007787/0.1479, allocations: 0.5262 MB / 0.6693 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.1479, allocations: 13.11 kB / 0.6693 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.805e-05/0.148, allocations: 54.67 kB / 0.6693 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.063e-05/0.148, allocations: 32.73 kB / 0.6694 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.1483, allocations: 271.8 kB / 0.6696 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1484, allocations: 8.375 kB / 0.6696 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.1484, allocations: 20.38 kB / 0.6696 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.1488, allocations: 217.2 kB / 0.6698 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1488, allocations: 0 / 0.6698 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.1488, allocations: 4 kB / 0.6698 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1488, allocations: 4 kB / 0.6699 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009566/0.1498, allocations: 0.7334 MB / 0.6706 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008962/0.1507, allocations: 0.5669 MB / 0.6711 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005279/0.1512, allocations: 300.2 kB / 0.6714 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.1514, allocations: 101.4 kB / 0.6715 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.505e-05/0.1515, allocations: 20.19 kB / 0.6715 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003641/0.1519, allocations: 180.9 kB / 0.6717 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 2.044e-06/0.1519, allocations: 0 / 0.6717 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34): time 0.0007266/0.1526, allocations: 370.1 kB / 0.6721 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.759e-05/0.1527, allocations: 132.5 kB / 0.6722 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.153, allocations: 300 kB / 0.6725 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.1531, allocations: 37.64 kB / 0.6725 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.873e-05/0.1532, allocations: 116.8 kB / 0.6726 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.1533, allocations: 123 kB / 0.6727 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.1534, allocations: 69.67 kB / 0.6728 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1536, allocations: 342.8 kB / 0.6731 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.1538, allocations: 79.95 kB / 0.6732 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.154, allocations: 123.4 kB / 0.6733 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.1544, allocations: 213.3 kB / 0.6735 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1544, allocations: 0 / 0.6735 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004773/0.1549, allocations: 277.3 kB / 0.6738 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1549, allocations: 7.938 kB / 0.6738 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1549, allocations: 7.938 kB / 0.6738 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1549, allocations: 4 kB / 0.6738 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.1551, allocations: 59.97 kB / 0.6739 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.1552, allocations: 0 / 0.6739 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.1553, allocations: 27.81 kB / 0.6739 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.1554, allocations: 15.92 kB / 0.6739 GB, free: 12.19 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.0001605/0.1555, allocations: 159.1 kB / 0.6741 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.1556, allocations: 27.81 kB / 0.6741 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007272/0.1563, allocations: 388.7 kB / 0.6744 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1563, allocations: 8 kB / 0.6745 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1564, allocations: 0 / 0.6745 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1564, allocations: 3.984 kB / 0.6745 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.1567, allocations: 333.2 kB / 0.6748 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1567, allocations: 0 / 0.6748 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.1569, allocations: 55.91 kB / 0.6748 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1569, allocations: 0 / 0.6748 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.157, allocations: 12 kB / 0.6748 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.157, allocations: 0 / 0.6748 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.157, allocations: 0 / 0.6748 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005436/0.1575, allocations: 329.8 kB / 0.6752 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.1577, allocations: 144.8 kB / 0.6753 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.1577, allocations: 4 kB / 0.6753 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.1579, allocations: 19.92 kB / 0.6753 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.158, allocations: 24 kB / 0.6753 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.158, allocations: 15.98 kB / 0.6754 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002342/0.1582, allocations: 237.5 kB / 0.6756 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1582, allocations: 0 / 0.6756 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002985/0.1586, allocations: 59.98 kB / 0.6756 GB, free: 10.3 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.002136/0.1607, allocations: 1.156 MB / 0.6768 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004315/0.1611, allocations: 228.1 kB / 0.677 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1612, allocations: 0 / 0.677 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.1614, allocations: 127.8 kB / 0.6771 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.1617, allocations: 37.59 kB / 0.6771 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.1647, allocations: 2.457 MB / 0.6795 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.1651, allocations: 0.7574 MB / 0.6803 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003511/0.1655, allocations: 154.9 kB / 0.6804 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.1656, allocations: 87.39 kB / 0.6805 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of SimCode: time 3.91e-07/0.1656, allocations: 0 / 0.6805 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.195, allocations: 5.44 MB / 0.6858 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.15, allocations: 12 kB / 0.6858 GB, free: 15.98 MB / 0.5294 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)