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.001127/0.001127, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.179/1.179, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8254/0.8254, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001144, allocations: 73.7 kB / 0.5055 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.149, allocations: 80.92 MB / 0.5845 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002717/0.1518, allocations: 1.607 MB / 0.5861 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.1534, allocations: 1.16 MB / 0.5872 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.514e-05/0.1535, allocations: 0 / 0.5872 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.1537, allocations: 31.83 kB / 0.5872 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.154, allocations: 67.62 kB / 0.5873 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.1544, allocations: 127.5 kB / 0.5874 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.1547, allocations: 229.6 kB / 0.5876 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.486e-05/0.1548, allocations: 16 kB / 0.5876 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.1549, allocations: 75.83 kB / 0.5877 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.1552, allocations: 94.05 kB / 0.5878 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.1552, allocations: 16 kB / 0.5878 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.1554, allocations: 83.95 kB / 0.5879 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.172e-05/0.1555, allocations: 87.69 kB / 0.588 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.935e-05/0.1556, allocations: 99.39 kB / 0.5881 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003745/0.156, allocations: 271.4 kB / 0.5883 GB, free: 476 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.624e-06/0.156, allocations: 0 / 0.5883 GB, free: 476 kB / 494.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.156, allocations: 0 / 0.5883 GB, free: 476 kB / 494.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.156, allocations: 4 kB / 0.5883 GB, free: 472 kB / 494.1 MB 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.000772/0.1568, allocations: 0.5306 MB / 0.5889 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.1568, allocations: 8.031 kB / 0.5889 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.438e-05/0.1569, allocations: 50.73 kB / 0.5889 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.977e-05/0.157, allocations: 24.66 kB / 0.5889 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.1572, allocations: 267.7 kB / 0.5892 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1573, allocations: 12.38 kB / 0.5892 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.1573, allocations: 12.38 kB / 0.5892 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.1576, allocations: 212.8 kB / 0.5894 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.1576, allocations: 0 / 0.5894 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.1576, allocations: 11.98 kB / 0.5894 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1576, allocations: 7.938 kB / 0.5894 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007521/0.1584, allocations: 0.7373 MB / 0.5902 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007909/0.1592, allocations: 0.5629 MB / 0.5907 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/0.1597, allocations: 296.9 kB / 0.591 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.1598, allocations: 101.4 kB / 0.5911 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.791e-05/0.1599, allocations: 24.25 kB / 0.5911 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002922/0.1602, allocations: 180.9 kB / 0.5913 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.733e-06/0.1602, allocations: 0 / 0.5913 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006008/0.1608, allocations: 365.7 kB / 0.5916 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.1609, allocations: 136.5 kB / 0.5918 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.1611, allocations: 293.4 kB / 0.592 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.1612, allocations: 33.7 kB / 0.5921 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/0.1612, allocations: 124.7 kB / 0.5922 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-05/0.1613, allocations: 114.4 kB / 0.5923 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.504e-05/0.1614, allocations: 61.69 kB / 0.5924 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1615, allocations: 346.8 kB / 0.5927 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.1617, allocations: 79.95 kB / 0.5928 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.1619, allocations: 120.9 kB / 0.5929 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.1622, allocations: 222.5 kB / 0.5931 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1622, allocations: 0 / 0.5931 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004168/0.1626, allocations: 281 kB / 0.5934 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.1626, allocations: 4 kB / 0.5934 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1626, allocations: 4 kB / 0.5934 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.1626, allocations: 0 / 0.5934 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.1628, allocations: 59.91 kB / 0.5934 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1628, allocations: 7.984 kB / 0.5934 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.163, allocations: 23.78 kB / 0.5935 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.163, allocations: 19.92 kB / 0.5935 GB, free: 10.91 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.0001495/0.1632, allocations: 161.8 kB / 0.5936 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/0.1632, allocations: 23.72 kB / 0.5936 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006593/0.1639, allocations: 384.4 kB / 0.594 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1639, allocations: 4 kB / 0.594 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1639, allocations: 0 / 0.594 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1639, allocations: 3.984 kB / 0.594 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.1642, allocations: 329.2 kB / 0.5943 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1642, allocations: 0 / 0.5943 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.1644, allocations: 59.91 kB / 0.5944 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1644, allocations: 0 / 0.5944 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.1644, allocations: 19.98 kB / 0.5944 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1644, allocations: 0 / 0.5944 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1644, allocations: 4 kB / 0.5944 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004291/0.1649, allocations: 319 kB / 0.5947 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.165, allocations: 144.6 kB / 0.5949 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.165, allocations: 8 kB / 0.5949 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.1652, allocations: 15.98 kB / 0.5949 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.1652, allocations: 31.95 kB / 0.5949 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.1653, allocations: 8 kB / 0.5949 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001881/0.1655, allocations: 241.5 kB / 0.5952 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1655, allocations: 0 / 0.5952 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002673/0.1657, allocations: 56 kB / 0.5952 GB, free: 9.031 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.001407/0.1671, allocations: 1.153 MB / 0.5963 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004664/0.1676, allocations: 299.7 kB / 0.5966 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1676, allocations: 0 / 0.5966 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.1678, allocations: 128.4 kB / 0.5967 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.1681, allocations: 40.64 kB / 0.5968 GB, free: 7.555 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.002532/0.1706, allocations: 2.444 MB / 0.5992 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.1709, allocations: 0.754 MB / 0.5999 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002884/0.1712, allocations: 142.9 kB / 0.6 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.1713, allocations: 91.39 kB / 0.6001 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of SimCode: time 3.8e-07/0.1713, allocations: 0 / 0.6001 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.274/3.446, allocations: 5.381 MB / 0.6054 GB, free: 51.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.302/11.75, allocations: 8.312 kB / 0.6054 GB, free: 51.95 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)