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.0008415/0.0008415, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.004812/0.004812, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.22/1.22, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8507/0.8507, allocations: 135.3 MB / 426.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.000338, allocations: 8 kB / 0.5077 GB, free: 4.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1482, allocations: 82.32 MB / 0.5881 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.00186/0.1501, allocations: 1.32 MB / 0.5894 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.1517, allocations: 1.128 MB / 0.5905 GB, free: 32 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.533e-05/0.1518, allocations: 0 / 0.5905 GB, free: 32 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002204/0.152, allocations: 27.86 kB / 0.5905 GB, free: 4 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002723/0.1523, allocations: 47.83 kB / 0.5906 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.1527, allocations: 122.4 kB / 0.5907 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.1529, allocations: 205.7 kB / 0.5909 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1531, allocations: 19.98 kB / 0.5909 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.1532, allocations: 63.83 kB / 0.5909 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.1534, allocations: 87.7 kB / 0.591 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.1534, allocations: 8 kB / 0.591 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.1536, allocations: 67.97 kB / 0.5911 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.733e-05/0.1537, allocations: 79.73 kB / 0.5912 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.1538, allocations: 117.1 kB / 0.5913 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.1541, allocations: 259.4 kB / 0.5915 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.1541, allocations: 8 kB / 0.5915 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.893e-06/0.1541, allocations: 0 / 0.5915 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.1542, allocations: 0 / 0.5915 GB, free: 14.94 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.0006979/0.1549, allocations: 487.6 kB / 0.592 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1549, allocations: 8.031 kB / 0.592 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.457e-05/0.155, allocations: 50.73 kB / 0.5921 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.076e-05/0.155, allocations: 28.66 kB / 0.5921 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.1553, allocations: 271.6 kB / 0.5923 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1554, allocations: 12.38 kB / 0.5924 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.1554, allocations: 16.38 kB / 0.5924 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.1557, allocations: 208.8 kB / 0.5926 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1558, allocations: 0 / 0.5926 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.1558, allocations: 8 kB / 0.5926 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1558, allocations: 7.938 kB / 0.5926 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008082/0.1566, allocations: 0.7373 MB / 0.5933 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008291/0.1574, allocations: 0.5591 MB / 0.5939 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/0.1579, allocations: 295.6 kB / 0.5941 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.1581, allocations: 109.4 kB / 0.5942 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.501e-05/0.1581, allocations: 24.25 kB / 0.5943 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002909/0.1584, allocations: 172.9 kB / 0.5944 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.934e-06/0.1584, allocations: 0 / 0.5944 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006151/0.1591, allocations: 373.5 kB / 0.5948 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.482e-05/0.1591, allocations: 132.5 kB / 0.5949 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.1595, allocations: 293.4 kB / 0.5952 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.1595, allocations: 33.7 kB / 0.5952 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.189e-05/0.1596, allocations: 132.7 kB / 0.5954 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.598e-05/0.1597, allocations: 114.3 kB / 0.5955 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.1597, allocations: 33.7 kB / 0.5955 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1598, allocations: 338.8 kB / 0.5958 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.16, allocations: 79.95 kB / 0.5959 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.1602, allocations: 124.3 kB / 0.596 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.1605, allocations: 211.2 kB / 0.5962 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1605, allocations: 8 kB / 0.5962 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004066/0.1609, allocations: 277 kB / 0.5965 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1609, allocations: 4 kB / 0.5965 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1609, allocations: 0 / 0.5965 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.161, allocations: 4 kB / 0.5965 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.1612, allocations: 63.91 kB / 0.5966 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1612, allocations: 0 / 0.5966 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.1614, allocations: 27.83 kB / 0.5966 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.1614, allocations: 15.97 kB / 0.5966 GB, free: 9.477 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 (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.0001512/0.1615, allocations: 169.7 kB / 0.5968 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.1616, allocations: 23.72 kB / 0.5968 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006435/0.1622, allocations: 384.3 kB / 0.5971 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1623, allocations: 4 kB / 0.5972 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1623, allocations: 0 / 0.5972 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.1623, allocations: 3.984 kB / 0.5972 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.1626, allocations: 329.2 kB / 0.5975 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1626, allocations: 0 / 0.5975 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.1628, allocations: 59.91 kB / 0.5975 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1628, allocations: 4 kB / 0.5975 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.1628, allocations: 11.98 kB / 0.5975 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1628, allocations: 4 kB / 0.5975 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1628, allocations: 0 / 0.5975 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004188/0.1632, allocations: 323 kB / 0.5979 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.1634, allocations: 156.6 kB / 0.598 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.1635, allocations: 4 kB / 0.598 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.1636, allocations: 17.86 kB / 0.598 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.1637, allocations: 23.97 kB / 0.598 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.1637, allocations: 12 kB / 0.5981 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001828/0.1639, allocations: 237.5 kB / 0.5983 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1639, allocations: 0 / 0.5983 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002691/0.1642, allocations: 56 kB / 0.5983 GB, free: 7.59 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 (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.001384/0.1656, allocations: 1.155 MB / 0.5995 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003417/0.1659, allocations: 223.8 kB / 0.5997 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1659, allocations: 0 / 0.5997 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.1661, allocations: 132.4 kB / 0.5998 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.1663, allocations: 38.31 kB / 0.5998 GB, free: 6.184 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.002529/0.1689, allocations: 2.513 MB / 0.6023 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.1692, allocations: 0.7659 MB / 0.603 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002875/0.1695, allocations: 146.8 kB / 0.6032 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.1696, allocations: 83.41 kB / 0.6033 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1696, allocations: 4 kB / 0.6033 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.178/1.347, allocations: 4.945 MB / 0.6081 GB, free: 48.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/1.348, allocations: 261.8 kB / 0.6083 GB, free: 48.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.104/3.452, allocations: 0 / 0.6083 GB, free: 48.37 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/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)