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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001559/0.00156, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7969/0.7969, allocations: 133.6 MB / 141.6 MB, free: 2.859 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 221.5 MB / 395.4 MB, free: 10.81 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000875/0.0008749, allocations: 105.7 kB / 478.2 MB, free: 1.348 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.874e-05, allocations: 4 kB / 0.5536 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6242/0.6243, allocations: 82.3 MB / 0.6339 GB, free: 40.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1762/0.8006, allocations: 114.2 MB / 0.7454 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/0.801, allocations: 83.94 kB / 0.7455 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02255/0.8235, allocations: 7.898 MB / 0.7532 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8236, allocations: 0 / 0.7532 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.161e-05/0.8237, allocations: 7.938 kB / 0.7532 GB, free: 0.5977 MB / 0.5261 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.0009878/0.8247, allocations: 486.5 kB / 0.7537 GB, free: 80 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.8247, allocations: 8.031 kB / 0.7537 GB, free: 72 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.8249, allocations: 35.61 kB / 0.7537 GB, free: 36 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005241/0.8254, allocations: 270.5 kB / 0.754 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.8255, allocations: 4 kB / 0.754 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.8255, allocations: 8 kB / 0.754 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00102/0.8265, allocations: 0.7217 MB / 0.7547 GB, free: 15 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.8269, allocations: 180.9 kB / 0.7549 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.8269, allocations: 3.938 kB / 0.7549 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.827, allocations: 8 kB / 0.7549 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.827, allocations: 4 kB / 0.7549 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009989/0.828, allocations: 0.5168 MB / 0.7554 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.8285, allocations: 264.2 kB / 0.7557 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.8286, allocations: 97.39 kB / 0.7557 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.915e-05/0.8287, allocations: 24.23 kB / 0.7558 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003051/0.829, allocations: 161.8 kB / 0.7559 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 2.305e-06/0.829, allocations: 0 / 0.7559 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34): time 0.0005757/0.8296, allocations: 265 kB / 0.7562 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.8297, allocations: 132.5 kB / 0.7563 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.8301, allocations: 251 kB / 0.7565 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.8301, allocations: 29.69 kB / 0.7566 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.8303, allocations: 120.9 kB / 0.7567 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.8304, allocations: 114.3 kB / 0.7568 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.8304, allocations: 0 / 0.7568 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.8306, allocations: 338.8 kB / 0.7571 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.8307, allocations: 67.98 kB / 0.7572 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.8309, allocations: 119.3 kB / 0.7573 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.8311, allocations: 108.5 kB / 0.7574 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.8311, allocations: 0 / 0.7574 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004346/0.8316, allocations: 249.2 kB / 0.7576 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.8316, allocations: 9.859 kB / 0.7576 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.8316, allocations: 4 kB / 0.7577 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.8316, allocations: 3.938 kB / 0.7577 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.8319, allocations: 59.91 kB / 0.7577 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.8319, allocations: 0 / 0.7577 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.8321, allocations: 23.83 kB / 0.7577 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.8321, allocations: 16 kB / 0.7578 GB, free: 11.71 MB / 0.5417 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.8322, allocations: 108.9 kB / 0.7579 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004549/0.8327, allocations: 261.2 kB / 0.7581 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.8328, allocations: 27.62 kB / 0.7581 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000713/0.8335, allocations: 369.5 kB / 0.7585 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.8335, allocations: 4 kB / 0.7585 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.8335, allocations: 4 kB / 0.7585 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.8335, allocations: 0 / 0.7585 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003504/0.8339, allocations: 297.8 kB / 0.7588 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.8339, allocations: 4 kB / 0.7588 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.8341, allocations: 55.92 kB / 0.7588 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.8341, allocations: 3.984 kB / 0.7588 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.8341, allocations: 8 kB / 0.7588 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.8341, allocations: 4 kB / 0.7588 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.8341, allocations: 0 / 0.7588 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004765/0.8346, allocations: 301.7 kB / 0.7591 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/0.8348, allocations: 160.5 kB / 0.7593 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/0.8349, allocations: 3.984 kB / 0.7593 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.835, allocations: 8 kB / 0.7593 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.757e-05/0.8351, allocations: 23.95 kB / 0.7593 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.8351, allocations: 16 kB / 0.7593 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002246/0.8354, allocations: 209.6 kB / 0.7595 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8354, allocations: 4 kB / 0.7595 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003414/0.8357, allocations: 48 kB / 0.7596 GB, free: 9.738 MB / 0.5417 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001635/0.8374, allocations: 1.096 MB / 0.7607 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003758/0.8378, allocations: 203.8 kB / 0.7609 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8378, allocations: 0 / 0.7609 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.838, allocations: 119.8 kB / 0.761 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.8382, allocations: 22.89 kB / 0.761 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.8392, allocations: 451.9 kB / 0.7614 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.8397, allocations: 0.7614 MB / 0.7622 GB, free: 7.094 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003709/0.8401, allocations: 155.1 kB / 0.7623 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.8402, allocations: 95.39 kB / 0.7624 GB, free: 6.848 MB / 0.5417 GB Notification: Performance of SimCode: time 3e-07/0.8403, allocations: 0 / 0.7624 GB, free: 6.848 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3949/1.235, allocations: 4.963 MB / 0.7672 GB, free: 1.922 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/1.235, allocations: 184.7 kB / 0.7674 GB, free: 1.73 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/3.143, allocations: 7.938 kB / 0.7674 GB, free: 1.723 MB / 0.5417 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/linux/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)