Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IDEAS_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.004438/0.004438, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001118/0.001118, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7797/0.7797, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.45 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1601, allocations: 80.2 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002898/0.163, allocations: 1.617 MB / 0.6608 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.1646, allocations: 1.16 MB / 0.6619 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.3e-05/0.1647, allocations: 4 kB / 0.6619 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.165, allocations: 27.8 kB / 0.6619 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.1653, allocations: 63.69 kB / 0.662 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.1656, allocations: 140.3 kB / 0.6621 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.1659, allocations: 225.6 kB / 0.6624 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.166, allocations: 22.78 kB / 0.6624 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.1661, allocations: 71.89 kB / 0.6624 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.1664, allocations: 97.89 kB / 0.6625 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.1664, allocations: 16 kB / 0.6626 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.1666, allocations: 79.97 kB / 0.6626 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.433e-05/0.1667, allocations: 79.75 kB / 0.6627 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1668, allocations: 99.39 kB / 0.6628 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.1671, allocations: 279.1 kB / 0.6631 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1671, allocations: 0 / 0.6631 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.983e-06/0.1671, allocations: 4 kB / 0.6631 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.1671, allocations: 0 / 0.6631 GB, free: 10.03 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.0007311/0.1679, allocations: 0.5275 MB / 0.6636 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1679, allocations: 8.031 kB / 0.6636 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.208e-05/0.168, allocations: 50.73 kB / 0.6636 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.802e-05/0.1681, allocations: 24.66 kB / 0.6637 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.1683, allocations: 267.7 kB / 0.6639 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1684, allocations: 8.375 kB / 0.6639 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.1684, allocations: 12.38 kB / 0.6639 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.1687, allocations: 220.7 kB / 0.6642 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.1687, allocations: 0 / 0.6642 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.1688, allocations: 7.984 kB / 0.6642 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.1688, allocations: 7.984 kB / 0.6642 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008285/0.1696, allocations: 0.7295 MB / 0.6649 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007774/0.1704, allocations: 0.559 MB / 0.6654 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004463/0.1709, allocations: 311.6 kB / 0.6657 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.171, allocations: 101.4 kB / 0.6658 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.177e-05/0.1711, allocations: 16.25 kB / 0.6658 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003001/0.1714, allocations: 181.5 kB / 0.666 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.1714, allocations: 0 / 0.666 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0005844/0.172, allocations: 373.6 kB / 0.6664 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.172, allocations: 132.5 kB / 0.6665 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.1723, allocations: 305.2 kB / 0.6668 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.1723, allocations: 33.7 kB / 0.6668 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.699e-05/0.1724, allocations: 120.7 kB / 0.6669 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.345e-05/0.1725, allocations: 114.4 kB / 0.667 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.017e-05/0.1726, allocations: 61.69 kB / 0.6671 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.1727, allocations: 342.8 kB / 0.6674 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.1728, allocations: 79.95 kB / 0.6675 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.173, allocations: 128.2 kB / 0.6676 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.1733, allocations: 219.1 kB / 0.6678 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1733, allocations: 4 kB / 0.6678 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003926/0.1737, allocations: 277.2 kB / 0.6681 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1737, allocations: 4 kB / 0.6681 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1737, allocations: 3.938 kB / 0.6681 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1737, allocations: 4 kB / 0.6681 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.1739, allocations: 63.91 kB / 0.6682 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.174, allocations: 0 / 0.6682 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.1741, allocations: 31.73 kB / 0.6682 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.1741, allocations: 11.94 kB / 0.6682 GB, free: 4.48 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.0001423/0.1743, allocations: 166.4 kB / 0.6684 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.1743, allocations: 23.72 kB / 0.6684 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006011/0.1749, allocations: 376.5 kB / 0.6688 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.175, allocations: 4 kB / 0.6688 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.175, allocations: 3.938 kB / 0.6688 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.175, allocations: 0 / 0.6688 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.1753, allocations: 333.2 kB / 0.6691 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1753, allocations: 0 / 0.6691 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.1754, allocations: 63.91 kB / 0.6691 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1755, allocations: 0 / 0.6691 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.1755, allocations: 12 kB / 0.6692 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1755, allocations: 0 / 0.6692 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1755, allocations: 0 / 0.6692 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004224/0.1759, allocations: 331 kB / 0.6695 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.176, allocations: 136.7 kB / 0.6696 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.1761, allocations: 8 kB / 0.6696 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.1762, allocations: 27.08 kB / 0.6696 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.1763, allocations: 19.97 kB / 0.6697 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.1763, allocations: 15.98 kB / 0.6697 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001825/0.1765, allocations: 233.5 kB / 0.6699 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1765, allocations: 0 / 0.6699 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002824/0.1768, allocations: 59.91 kB / 0.6699 GB, free: 2.605 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.001457/0.1782, allocations: 1.143 MB / 0.6711 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003605/0.1786, allocations: 231.7 kB / 0.6713 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1786, allocations: 0 / 0.6713 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.1788, allocations: 124.4 kB / 0.6714 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.1791, allocations: 38.52 kB / 0.6714 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.1816, allocations: 2.47 MB / 0.6739 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.1819, allocations: 0.7579 MB / 0.6746 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002994/0.1822, allocations: 142.9 kB / 0.6747 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.1823, allocations: 87.34 kB / 0.6748 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.1823, allocations: 0 / 0.6748 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.2061, allocations: 5.519 MB / 0.6802 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.218/7.424, allocations: 4.062 kB / 0.6802 GB, free: 8.281 MB / 0.5137 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)