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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 108.8 kB / 16.41 MB, free: 6.473 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.001132/0.001132, allocations: 187 kB / 17.34 MB, free: 5.754 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.206/1.206, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7349/0.7349, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 66.55 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1249, allocations: 80.92 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002687/0.1277, allocations: 1.625 MB / 0.6669 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1292, allocations: 1.16 MB / 0.668 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.35e-05/0.1293, allocations: 0 / 0.668 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.1295, allocations: 19.86 kB / 0.6681 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.1298, allocations: 75.62 kB / 0.6681 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.1302, allocations: 131.1 kB / 0.6682 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.1304, allocations: 221.6 kB / 0.6685 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.024e-05/0.1305, allocations: 27.92 kB / 0.6685 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.1307, allocations: 79.83 kB / 0.6686 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.1309, allocations: 91.7 kB / 0.6686 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.1309, allocations: 16 kB / 0.6687 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.1311, allocations: 79.95 kB / 0.6687 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.133e-05/0.1312, allocations: 79.81 kB / 0.6688 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.58e-05/0.1313, allocations: 99.39 kB / 0.6689 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.1316, allocations: 275 kB / 0.6692 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1316, allocations: 0 / 0.6692 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1316, allocations: 0 / 0.6692 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.1316, allocations: 0 / 0.6692 GB, free: 1.812 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.0007308/0.1323, allocations: 0.5344 MB / 0.6697 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.1324, allocations: 9.109 kB / 0.6697 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.261e-05/0.1324, allocations: 28.66 kB / 0.6697 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.1327, allocations: 267.6 kB / 0.67 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1327, allocations: 8.375 kB / 0.67 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.1328, allocations: 20.36 kB / 0.67 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.1331, allocations: 213.4 kB / 0.6702 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1331, allocations: 0 / 0.6702 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.1331, allocations: 8 kB / 0.6702 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1331, allocations: 0 / 0.6702 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007651/0.1339, allocations: 0.7372 MB / 0.6709 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000747/0.1347, allocations: 0.5668 MB / 0.6715 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004414/0.1351, allocations: 305.5 kB / 0.6718 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.1353, allocations: 101.4 kB / 0.6719 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.1353, allocations: 16.25 kB / 0.6719 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002987/0.1356, allocations: 176.9 kB / 0.6721 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.1356, allocations: 0 / 0.6721 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34): time 0.0006018/0.1362, allocations: 370 kB / 0.6724 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.1363, allocations: 132.5 kB / 0.6725 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.1366, allocations: 304.1 kB / 0.6728 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.1366, allocations: 29.7 kB / 0.6729 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.804e-05/0.1367, allocations: 124.7 kB / 0.673 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.39e-05/0.1367, allocations: 118.3 kB / 0.6731 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.509e-05/0.1368, allocations: 65.69 kB / 0.6732 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.137, allocations: 338.8 kB / 0.6735 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.1371, allocations: 79.95 kB / 0.6736 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.1373, allocations: 131.4 kB / 0.6737 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.1376, allocations: 209.3 kB / 0.6739 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1376, allocations: 4 kB / 0.6739 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004024/0.138, allocations: 273.2 kB / 0.6742 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.138, allocations: 4 kB / 0.6742 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.138, allocations: 3.938 kB / 0.6742 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.138, allocations: 7.938 kB / 0.6742 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.1383, allocations: 59.97 kB / 0.6742 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1383, allocations: 0 / 0.6742 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.1384, allocations: 27.83 kB / 0.6743 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.1384, allocations: 12 kB / 0.6743 GB, free: 12.33 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.0001315/0.1386, allocations: 165.6 kB / 0.6744 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.1386, allocations: 35.64 kB / 0.6745 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006042/0.1392, allocations: 388.7 kB / 0.6748 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1393, allocations: 4 kB / 0.6748 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1393, allocations: 0 / 0.6748 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1393, allocations: 0 / 0.6748 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.1396, allocations: 333.2 kB / 0.6751 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1396, allocations: 0 / 0.6751 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.1397, allocations: 59.91 kB / 0.6752 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1397, allocations: 0 / 0.6752 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.1398, allocations: 15.98 kB / 0.6752 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1398, allocations: 0 / 0.6752 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1398, allocations: 0 / 0.6752 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004501/0.1402, allocations: 321.7 kB / 0.6755 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.1404, allocations: 140.7 kB / 0.6757 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.1404, allocations: 8 kB / 0.6757 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.1405, allocations: 15.98 kB / 0.6757 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.1406, allocations: 27.91 kB / 0.6757 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.1406, allocations: 8 kB / 0.6757 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001756/0.1408, allocations: 237.6 kB / 0.6759 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1408, allocations: 0 / 0.6759 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002607/0.1411, allocations: 59.94 kB / 0.676 GB, free: 10.44 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.0008458/0.1419, allocations: 407.3 kB / 0.6764 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003707/0.1423, allocations: 232.6 kB / 0.6766 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1423, allocations: 0 / 0.6766 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.1425, allocations: 127.8 kB / 0.6767 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.1427, allocations: 32.66 kB / 0.6768 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007373/0.1435, allocations: 0.5377 MB / 0.6773 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.1438, allocations: 0.7535 MB / 0.678 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.808e-05/0.1439, allocations: 47.41 kB / 0.6781 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1439, allocations: 0 / 0.6781 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of Templates: time 0.006116/0.15, allocations: 4.171 MB / 0.6821 GB, free: 4.238 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (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 & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)