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.01106/0.01106, allocations: 100.4 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.001978/0.001978, allocations: 187.6 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.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.9569/0.9569, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 55.91 kB / 0.5851 GB, free: 3.832 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.429, allocations: 80.92 MB / 0.6642 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002903/0.432, allocations: 1.621 MB / 0.6658 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.4339, allocations: 1.159 MB / 0.6669 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.441e-05/0.434, allocations: 1.344 kB / 0.6669 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.4342, allocations: 27.83 kB / 0.6669 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.4346, allocations: 65.38 kB / 0.667 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004741/0.4351, allocations: 138.3 kB / 0.6671 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000314/0.4354, allocations: 231.2 kB / 0.6673 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.4355, allocations: 19.55 kB / 0.6673 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.4356, allocations: 79.56 kB / 0.6674 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.4359, allocations: 87.95 kB / 0.6675 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.589e-05/0.4359, allocations: 20 kB / 0.6675 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.4361, allocations: 74.41 kB / 0.6676 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.4362, allocations: 81.91 kB / 0.6677 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.4364, allocations: 98.98 kB / 0.6678 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.4367, allocations: 276.5 kB / 0.668 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4368, allocations: 0 / 0.668 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4368, allocations: 0 / 0.668 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.4368, allocations: 1.031 kB / 0.668 GB, free: 4.395 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.0008232/0.4376, allocations: 0.5223 MB / 0.6685 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.4377, allocations: 13.69 kB / 0.6686 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.629e-05/0.4377, allocations: 53.11 kB / 0.6686 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.967e-05/0.4378, allocations: 28.56 kB / 0.6686 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.4381, allocations: 259.6 kB / 0.6689 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.4382, allocations: 10.84 kB / 0.6689 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.4382, allocations: 13.44 kB / 0.6689 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.4385, allocations: 214.3 kB / 0.6691 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.4385, allocations: 5.5 kB / 0.6691 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.4385, allocations: 9.406 kB / 0.6691 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.4386, allocations: 3.844 kB / 0.6691 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007354/0.4393, allocations: 0.7296 MB / 0.6698 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006917/0.44, allocations: 0.5668 MB / 0.6704 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.4404, allocations: 301.1 kB / 0.6707 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.4406, allocations: 103.1 kB / 0.6708 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.4406, allocations: 21.16 kB / 0.6708 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002939/0.4409, allocations: 175.8 kB / 0.671 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.803e-06/0.4409, allocations: 5.469 kB / 0.671 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0005861/0.4415, allocations: 371 kB / 0.6713 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.4415, allocations: 133.1 kB / 0.6715 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.4418, allocations: 301.3 kB / 0.6717 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.4418, allocations: 31.36 kB / 0.6718 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.4419, allocations: 120.6 kB / 0.6719 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.4419, allocations: 117.6 kB / 0.672 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.851e-05/0.442, allocations: 61.16 kB / 0.6721 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.236e-05/0.4421, allocations: 346.7 kB / 0.6724 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.4422, allocations: 80.45 kB / 0.6725 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.4424, allocations: 124.4 kB / 0.6726 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.4427, allocations: 225.4 kB / 0.6728 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4427, allocations: 0 / 0.6728 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003829/0.4431, allocations: 271.6 kB / 0.6731 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.4431, allocations: 4.5 kB / 0.6731 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.4431, allocations: 1.438 kB / 0.6731 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.4431, allocations: 1.375 kB / 0.6731 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.4433, allocations: 63.5 kB / 0.6731 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4433, allocations: 1.031 kB / 0.6731 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.4435, allocations: 31.83 kB / 0.6732 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.4435, allocations: 16.61 kB / 0.6732 GB, free: 0.6602 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.0001101/0.4436, allocations: 161.2 kB / 0.6733 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.4437, allocations: 27.84 kB / 0.6733 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005802/0.4443, allocations: 372.3 kB / 0.6737 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4443, allocations: 4.062 kB / 0.6737 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4443, allocations: 4 kB / 0.6737 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.4443, allocations: 5.297 kB / 0.6737 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.4445, allocations: 326.4 kB / 0.674 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.4445, allocations: 0 / 0.674 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.4447, allocations: 61.25 kB / 0.6741 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4447, allocations: 5.156 kB / 0.6741 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.4448, allocations: 8.766 kB / 0.6741 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.4448, allocations: 1.625 kB / 0.6741 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4448, allocations: 7.969 kB / 0.6741 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004464/0.4452, allocations: 325.1 kB / 0.6744 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.4454, allocations: 137.7 kB / 0.6745 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.4454, allocations: 6.25 kB / 0.6746 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.4455, allocations: 22.52 kB / 0.6746 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.4456, allocations: 20.19 kB / 0.6746 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.4456, allocations: 17.7 kB / 0.6746 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001869/0.4458, allocations: 231.9 kB / 0.6748 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4458, allocations: 0 / 0.6748 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002778/0.4461, allocations: 62.36 kB / 0.6749 GB, free: 15.43 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.001423/0.4475, allocations: 1.151 MB / 0.676 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003911/0.448, allocations: 230 kB / 0.6762 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.448, allocations: 1.031 kB / 0.6762 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.4482, allocations: 121.6 kB / 0.6764 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.4484, allocations: 48.7 kB / 0.6764 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.4511, allocations: 2.464 MB / 0.6788 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.4514, allocations: 0.7578 MB / 0.6795 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000306/0.4517, allocations: 148.2 kB / 0.6797 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.4518, allocations: 92.33 kB / 0.6798 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.4518, allocations: 0 / 0.6798 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.4766, allocations: 5.517 MB / 0.6852 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.595/8.071, allocations: 6.359 kB / 0.6852 GB, free: 8.941 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)