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.001338/0.001338, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001361/0.001361, allocations: 190.9 kB / 16.14 MB, free: 6.707 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.193/1.193, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.701/0.701, allocations: 132.2 MB / 422.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001313, allocations: 63.36 kB / 0.5012 GB, free: 9.062 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1379, allocations: 80.21 MB / 0.5795 GB, free: 9.074 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002401/0.1404, allocations: 1.659 MB / 0.5811 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.1417, allocations: 1.144 MB / 0.5822 GB, free: 6.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.389e-05/0.1418, allocations: 8 kB / 0.5823 GB, free: 6.242 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.1419, allocations: 19.92 kB / 0.5823 GB, free: 6.223 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.1421, allocations: 47.83 kB / 0.5823 GB, free: 6.176 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.1424, allocations: 126.6 kB / 0.5824 GB, free: 6.055 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.1426, allocations: 205.6 kB / 0.5826 GB, free: 5.852 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.794e-05/0.1427, allocations: 23.98 kB / 0.5827 GB, free: 5.828 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.518e-05/0.1427, allocations: 59.89 kB / 0.5827 GB, free: 5.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.1429, allocations: 87.7 kB / 0.5828 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.1429, allocations: 8 kB / 0.5828 GB, free: 5.676 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.1431, allocations: 71.97 kB / 0.5829 GB, free: 5.605 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.842e-05/0.1432, allocations: 83.73 kB / 0.583 GB, free: 5.523 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.742e-05/0.1432, allocations: 87.39 kB / 0.583 GB, free: 5.438 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.1435, allocations: 271.4 kB / 0.5833 GB, free: 5.172 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1435, allocations: 0 / 0.5833 GB, free: 5.172 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.11e-07/0.1435, allocations: 4 kB / 0.5833 GB, free: 5.168 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.1435, allocations: 0 / 0.5833 GB, free: 5.168 MB / 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.0008371/0.1444, allocations: 0.5267 MB / 0.5838 GB, free: 4.594 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1444, allocations: 12.03 kB / 0.5838 GB, free: 4.582 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.906e-05/0.1445, allocations: 46.73 kB / 0.5839 GB, free: 4.527 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/0.1445, allocations: 24.66 kB / 0.5839 GB, free: 4.504 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.1448, allocations: 267.7 kB / 0.5842 GB, free: 4.203 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.1448, allocations: 12.38 kB / 0.5842 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.1448, allocations: 12.38 kB / 0.5842 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.1452, allocations: 220.7 kB / 0.5844 GB, free: 3.945 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1452, allocations: 3.984 kB / 0.5844 GB, free: 3.941 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.1452, allocations: 4 kB / 0.5844 GB, free: 3.938 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.1452, allocations: 4 kB / 0.5844 GB, free: 3.934 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008107/0.146, allocations: 0.7334 MB / 0.5851 GB, free: 3.199 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007419/0.1468, allocations: 0.5629 MB / 0.5857 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004401/0.1472, allocations: 296.4 kB / 0.5859 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.1474, allocations: 105.4 kB / 0.586 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.372e-05/0.1474, allocations: 20.25 kB / 0.5861 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/0.1477, allocations: 185.4 kB / 0.5862 GB, free: 1.969 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.543e-06/0.1477, allocations: 0 / 0.5862 GB, free: 1.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006525/0.1484, allocations: 365.7 kB / 0.5866 GB, free: 1.605 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.1484, allocations: 136.5 kB / 0.5867 GB, free: 1.441 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.1487, allocations: 305.1 kB / 0.587 GB, free: 1.133 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.1488, allocations: 29.7 kB / 0.587 GB, free: 1.098 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.1488, allocations: 120.8 kB / 0.5872 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.671e-05/0.1489, allocations: 110.4 kB / 0.5873 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.822e-05/0.149, allocations: 77.58 kB / 0.5873 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1492, allocations: 342.8 kB / 0.5877 GB, free: 452 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.1493, allocations: 79.95 kB / 0.5877 GB, free: 372 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.1495, allocations: 124.2 kB / 0.5879 GB, free: 236 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.1498, allocations: 219.1 kB / 0.5881 GB, free: 16 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1498, allocations: 0 / 0.5881 GB, free: 16 kB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004179/0.1503, allocations: 273.3 kB / 0.5883 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.1503, allocations: 8 kB / 0.5883 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.1503, allocations: 3.938 kB / 0.5883 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.1503, allocations: 4 kB / 0.5883 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.1505, allocations: 63.91 kB / 0.5884 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1505, allocations: 0 / 0.5884 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.1507, allocations: 27.83 kB / 0.5884 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.1507, allocations: 11.94 kB / 0.5884 GB, free: 15.62 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.0001294/0.1508, allocations: 166.4 kB / 0.5886 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.1509, allocations: 27.72 kB / 0.5886 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006153/0.1515, allocations: 376.4 kB / 0.589 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1515, allocations: 4 kB / 0.589 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1515, allocations: 0 / 0.589 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1515, allocations: 0 / 0.589 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.1518, allocations: 337.1 kB / 0.5893 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1518, allocations: 0 / 0.5893 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.152, allocations: 59.91 kB / 0.5894 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.152, allocations: 4 kB / 0.5894 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.152, allocations: 8 kB / 0.5894 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.152, allocations: 4 kB / 0.5894 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.152, allocations: 0 / 0.5894 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.1525, allocations: 319.1 kB / 0.5897 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.1526, allocations: 148.6 kB / 0.5898 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.1526, allocations: 4 kB / 0.5898 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.1528, allocations: 22.94 kB / 0.5899 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.1528, allocations: 23.97 kB / 0.5899 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.1528, allocations: 15.98 kB / 0.5899 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001806/0.153, allocations: 233.5 kB / 0.5901 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.153, allocations: 3.938 kB / 0.5901 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002649/0.1533, allocations: 59.98 kB / 0.5902 GB, free: 13.75 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.00146/0.1548, allocations: 1.157 MB / 0.5913 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003423/0.1551, allocations: 223.8 kB / 0.5915 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1551, allocations: 0 / 0.5915 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.1553, allocations: 124.4 kB / 0.5916 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.1556, allocations: 42.64 kB / 0.5917 GB, free: 12.36 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.002641/0.1583, allocations: 2.51 MB / 0.5941 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.1586, allocations: 0.7612 MB / 0.5949 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003357/0.1589, allocations: 142.9 kB / 0.595 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.1591, allocations: 87.41 kB / 0.5951 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1591, allocations: 0 / 0.5951 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.318/1.477, allocations: 5.184 MB / 0.6002 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/1.477, allocations: 265 kB / 0.6004 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/3.201, allocations: 3.062 kB / 0.6004 GB, free: 3.512 MB / 0.4981 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)