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.007266/0.007266, allocations: 100.7 kB / 15.73 MB, free: 6.469 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.00182/0.00182, allocations: 193.1 kB / 16.67 MB, free: 6.379 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.017/1.017, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.91 kB / 0.5851 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4405, allocations: 80.92 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002589/0.4432, allocations: 1.626 MB / 0.6658 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.4446, allocations: 1.163 MB / 0.6669 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.4446, allocations: 5.375 kB / 0.6669 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.4449, allocations: 20.2 kB / 0.6669 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.4452, allocations: 69.28 kB / 0.667 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.4455, allocations: 135.2 kB / 0.6671 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.4458, allocations: 231.9 kB / 0.6673 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.4459, allocations: 19.77 kB / 0.6674 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.257e-05/0.446, allocations: 74.55 kB / 0.6674 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.4462, allocations: 91.3 kB / 0.6675 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.4462, allocations: 17.03 kB / 0.6675 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.4463, allocations: 86.92 kB / 0.6676 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.097e-05/0.4464, allocations: 77.09 kB / 0.6677 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.455e-05/0.4465, allocations: 102.7 kB / 0.6678 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.4468, allocations: 272.4 kB / 0.668 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.4468, allocations: 1.125 kB / 0.668 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4468, allocations: 3.938 kB / 0.668 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.4468, allocations: 0 / 0.668 GB, free: 4.34 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.0006538/0.4475, allocations: 0.5232 MB / 0.6686 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.4475, allocations: 9 kB / 0.6686 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.513e-05/0.4476, allocations: 48.33 kB / 0.6686 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.69e-05/0.4477, allocations: 29.06 kB / 0.6686 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.4479, allocations: 260.7 kB / 0.6689 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.4479, allocations: 9.656 kB / 0.6689 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.448, allocations: 13.91 kB / 0.6689 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.4483, allocations: 215.5 kB / 0.6691 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.4483, allocations: 0 / 0.6691 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.4483, allocations: 5.156 kB / 0.6691 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.4483, allocations: 7.844 kB / 0.6691 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007353/0.4491, allocations: 0.7332 MB / 0.6698 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007595/0.4498, allocations: 0.5727 MB / 0.6704 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004431/0.4503, allocations: 291.8 kB / 0.6707 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.4504, allocations: 108.2 kB / 0.6708 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.33e-05/0.4505, allocations: 21.28 kB / 0.6708 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002907/0.4508, allocations: 175 kB / 0.671 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.613e-06/0.4508, allocations: 1.25 kB / 0.671 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006302/0.4514, allocations: 367.1 kB / 0.6713 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.4515, allocations: 141 kB / 0.6715 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.4517, allocations: 292.8 kB / 0.6717 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.4518, allocations: 32.45 kB / 0.6718 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.4518, allocations: 125.5 kB / 0.6719 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.63e-05/0.4519, allocations: 112.8 kB / 0.672 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.221e-05/0.452, allocations: 64.78 kB / 0.6721 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.531e-05/0.4521, allocations: 337.7 kB / 0.6724 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.4522, allocations: 80.77 kB / 0.6725 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.4524, allocations: 129.5 kB / 0.6726 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.4527, allocations: 220.3 kB / 0.6728 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4527, allocations: 0 / 0.6728 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003898/0.4531, allocations: 272 kB / 0.673 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4531, allocations: 9.453 kB / 0.6731 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.4531, allocations: 0 / 0.6731 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.4531, allocations: 1.062 kB / 0.6731 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.4533, allocations: 68.41 kB / 0.6731 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.4533, allocations: 1.156 kB / 0.6731 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.4535, allocations: 27.98 kB / 0.6732 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.4535, allocations: 16.66 kB / 0.6732 GB, free: 0.6211 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.0001253/0.4537, allocations: 161 kB / 0.6733 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.4537, allocations: 27.38 kB / 0.6733 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006228/0.4543, allocations: 388.5 kB / 0.6737 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.4544, allocations: 9.031 kB / 0.6737 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4544, allocations: 0 / 0.6737 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4544, allocations: 0 / 0.6737 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.4546, allocations: 326.3 kB / 0.674 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4547, allocations: 0 / 0.674 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.4548, allocations: 58 kB / 0.6741 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.4549, allocations: 1.312 kB / 0.6741 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.4549, allocations: 12.33 kB / 0.6741 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4549, allocations: 5.219 kB / 0.6741 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4549, allocations: 0 / 0.6741 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004976/0.4554, allocations: 326.2 kB / 0.6744 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.4556, allocations: 142.4 kB / 0.6746 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.4556, allocations: 5.219 kB / 0.6746 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.4558, allocations: 14.02 kB / 0.6746 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.18e-05/0.4558, allocations: 29.38 kB / 0.6746 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.4559, allocations: 12.66 kB / 0.6746 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002333/0.4561, allocations: 240.2 kB / 0.6748 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4561, allocations: 0 / 0.6748 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002928/0.4564, allocations: 54.91 kB / 0.6749 GB, free: 15.39 MB / 0.5137 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.001644/0.4581, allocations: 1.161 MB / 0.676 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004323/0.4585, allocations: 234.1 kB / 0.6763 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4585, allocations: 0 / 0.6763 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002379/0.4588, allocations: 130.2 kB / 0.6764 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.4591, allocations: 44.45 kB / 0.6764 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003274/0.4624, allocations: 2.459 MB / 0.6788 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.4628, allocations: 0.7579 MB / 0.6796 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003527/0.4631, allocations: 139.5 kB / 0.6797 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.4633, allocations: 92.42 kB / 0.6798 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.4633, allocations: 1.562 kB / 0.6798 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.4902, allocations: 5.524 MB / 0.6852 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.974/8.464, allocations: 6.281 kB / 0.6852 GB, free: 8.891 MB / 0.5137 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)