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.00138/0.00138, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.001947/0.001947, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9426/0.9426, allocations: 135.3 MB / 426.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002932/0.0002933, allocations: 15.94 kB / 0.5071 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1556, allocations: 82.31 MB / 0.5875 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.001915/0.1576, allocations: 1.301 MB / 0.5887 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.159, allocations: 1.086 MB / 0.5898 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.1591, allocations: 0 / 0.5898 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.1593, allocations: 19.92 kB / 0.5898 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.1595, allocations: 55.81 kB / 0.5899 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.1598, allocations: 111.7 kB / 0.59 GB, free: 420 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.16, allocations: 197.6 kB / 0.5902 GB, free: 224 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.522e-05/0.1601, allocations: 16 kB / 0.5902 GB, free: 208 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.458e-05/0.1602, allocations: 63.81 kB / 0.5903 GB, free: 144 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.1604, allocations: 79.78 kB / 0.5903 GB, free: 64 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.1604, allocations: 8 kB / 0.5903 GB, free: 56 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.1606, allocations: 64.02 kB / 0.5904 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.263e-05/0.1607, allocations: 71.69 kB / 0.5905 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.042e-05/0.1607, allocations: 57.58 kB / 0.5905 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.1609, allocations: 195.8 kB / 0.5907 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.161, allocations: 8 kB / 0.5907 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.161, allocations: 0 / 0.5907 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.161, allocations: 0 / 0.5907 GB, free: 15.66 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.000642/0.1616, allocations: 491.4 kB / 0.5912 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1617, allocations: 12.03 kB / 0.5912 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.252e-05/0.1617, allocations: 46.55 kB / 0.5912 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/0.1618, allocations: 23.72 kB / 0.5913 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.1621, allocations: 258.5 kB / 0.5915 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.1621, allocations: 16 kB / 0.5915 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.1621, allocations: 12 kB / 0.5915 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.1624, allocations: 204.8 kB / 0.5917 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1625, allocations: 3.938 kB / 0.5917 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.1625, allocations: 12 kB / 0.5917 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.1625, allocations: 7.984 kB / 0.5918 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008494/0.1633, allocations: 0.7334 MB / 0.5925 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007966/0.1642, allocations: 0.5629 MB / 0.593 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.1646, allocations: 303.6 kB / 0.5933 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.1648, allocations: 101.3 kB / 0.5934 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.256e-05/0.1648, allocations: 24.25 kB / 0.5934 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002983/0.1651, allocations: 172.9 kB / 0.5936 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.1651, allocations: 0 / 0.5936 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006039/0.1658, allocations: 365.7 kB / 0.5939 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.488e-05/0.1658, allocations: 140.5 kB / 0.5941 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.1661, allocations: 294.6 kB / 0.5944 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.1662, allocations: 29.7 kB / 0.5944 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.061e-05/0.1662, allocations: 128.8 kB / 0.5945 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.355e-05/0.1663, allocations: 118.3 kB / 0.5946 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/0.1664, allocations: 8 kB / 0.5946 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1665, allocations: 330.8 kB / 0.5949 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.1666, allocations: 79.95 kB / 0.595 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.1668, allocations: 124.3 kB / 0.5951 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.167, allocations: 105.7 kB / 0.5952 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.167, allocations: 4 kB / 0.5952 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004133/0.1674, allocations: 281.7 kB / 0.5955 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1674, allocations: 4 kB / 0.5955 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1674, allocations: 0 / 0.5955 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.1674, allocations: 0 / 0.5955 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.1677, allocations: 59.91 kB / 0.5956 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.1677, allocations: 7.953 kB / 0.5956 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.1678, allocations: 31.67 kB / 0.5956 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.1679, allocations: 12 kB / 0.5956 GB, free: 10.35 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.168, allocations: 169.7 kB / 0.5958 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.1681, allocations: 23.72 kB / 0.5958 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006533/0.1687, allocations: 384.3 kB / 0.5962 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1687, allocations: 4 kB / 0.5962 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1688, allocations: 0 / 0.5962 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.1688, allocations: 7.938 kB / 0.5962 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.1691, allocations: 325.3 kB / 0.5965 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1691, allocations: 0 / 0.5965 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.1693, allocations: 59.91 kB / 0.5966 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1693, allocations: 0 / 0.5966 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.1693, allocations: 12 kB / 0.5966 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1693, allocations: 0 / 0.5966 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1693, allocations: 11.92 kB / 0.5966 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/0.1698, allocations: 326.9 kB / 0.5969 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.1699, allocations: 148.6 kB / 0.597 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.1699, allocations: 11.98 kB / 0.597 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.1701, allocations: 17.88 kB / 0.5971 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.1701, allocations: 23.95 kB / 0.5971 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.1702, allocations: 12 kB / 0.5971 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001945/0.1704, allocations: 228.4 kB / 0.5973 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1704, allocations: 4 kB / 0.5973 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002836/0.1707, allocations: 56 kB / 0.5974 GB, free: 8.461 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001484/0.1722, allocations: 1.154 MB / 0.5985 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003751/0.1726, allocations: 215.8 kB / 0.5987 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1726, allocations: 0 / 0.5987 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.1728, allocations: 136.3 kB / 0.5988 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.173, allocations: 36.66 kB / 0.5989 GB, free: 7.062 MB / 0.4981 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.1751, allocations: 1.453 MB / 0.6003 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.1755, allocations: 0.762 MB / 0.601 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003092/0.1758, allocations: 142.9 kB / 0.6012 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.1759, allocations: 87.41 kB / 0.6012 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1759, allocations: 0 / 0.6012 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5897/0.7656, allocations: 5.352 MB / 0.6065 GB, free: 49.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000137/0.7658, allocations: 243.4 kB / 0.6067 GB, free: 49.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/2.495, allocations: 0 / 0.6067 GB, free: 49.09 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) Environment - environmentSimulation: