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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 175.4 kB / 7.648 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8238/0.8238, allocations: 133.6 MB / 141.6 MB, free: 2.895 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.642/1.642, allocations: 221.5 MB / 395.4 MB, free: 10.75 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.0008937/0.0008937, allocations: 96.7 kB / 478.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.204e-05/2.198e-05, allocations: 4 kB / 0.5536 GB, free: 8.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5018/0.5018, allocations: 82.3 MB / 0.6339 GB, free: 40.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.6614, allocations: 114.2 MB / 0.7454 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.6617, allocations: 83.95 kB / 0.7455 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02162/0.6834, allocations: 7.898 MB / 0.7532 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.023e-06/0.6834, allocations: 0 / 0.7532 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.6834, allocations: 4 kB / 0.7532 GB, free: 0.5273 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.0006964/0.6841, allocations: 482.5 kB / 0.7537 GB, free: 12 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.406e-05/0.6842, allocations: 12.03 kB / 0.7537 GB, free: 0 / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.6843, allocations: 27.8 kB / 0.7537 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.6847, allocations: 274.3 kB / 0.754 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.6847, allocations: 4 kB / 0.754 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.6848, allocations: 8 kB / 0.754 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008855/0.6857, allocations: 0.7256 MB / 0.7547 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.686, allocations: 192.8 kB / 0.7549 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.686, allocations: 0 / 0.7549 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.686, allocations: 0 / 0.7549 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.686, allocations: 4 kB / 0.7549 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008092/0.6869, allocations: 0.5168 MB / 0.7554 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/0.6873, allocations: 272.2 kB / 0.7557 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.6874, allocations: 89.41 kB / 0.7557 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.372e-05/0.6875, allocations: 24.22 kB / 0.7558 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002767/0.6878, allocations: 157.8 kB / 0.7559 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 1.613e-06/0.6878, allocations: 0 / 0.7559 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34): time 0.0005275/0.6883, allocations: 269 kB / 0.7562 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.383e-05/0.6884, allocations: 140.5 kB / 0.7563 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.6887, allocations: 251 kB / 0.7565 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.6888, allocations: 25.7 kB / 0.7566 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.786e-05/0.6889, allocations: 120.9 kB / 0.7567 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.869e-05/0.689, allocations: 114.3 kB / 0.7568 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.689, allocations: 0 / 0.7568 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.6892, allocations: 338.8 kB / 0.7571 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.6893, allocations: 71.98 kB / 0.7572 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.6895, allocations: 119.3 kB / 0.7573 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.6897, allocations: 104.5 kB / 0.7574 GB, free: 12 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6897, allocations: 0 / 0.7574 GB, free: 12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004042/0.6901, allocations: 249.2 kB / 0.7576 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.6901, allocations: 5.875 kB / 0.7576 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.6901, allocations: 0 / 0.7576 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.6901, allocations: 7.938 kB / 0.7577 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.6904, allocations: 63.91 kB / 0.7577 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.6904, allocations: 0 / 0.7577 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.6906, allocations: 23.83 kB / 0.7577 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.6906, allocations: 11.98 kB / 0.7577 GB, free: 11.64 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.0001146/0.6907, allocations: 116.9 kB / 0.7579 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003957/0.6911, allocations: 253.3 kB / 0.7581 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.6912, allocations: 27.62 kB / 0.7581 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006755/0.6919, allocations: 373.5 kB / 0.7585 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.6919, allocations: 0 / 0.7585 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.6919, allocations: 4 kB / 0.7585 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.6919, allocations: 3.953 kB / 0.7585 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.6922, allocations: 289.9 kB / 0.7588 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6923, allocations: 4 kB / 0.7588 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.6925, allocations: 63.91 kB / 0.7588 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.6925, allocations: 0 / 0.7588 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.6925, allocations: 7.984 kB / 0.7588 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.6925, allocations: 0 / 0.7588 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.6925, allocations: 4 kB / 0.7588 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000449/0.693, allocations: 301.7 kB / 0.7591 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.6931, allocations: 160.5 kB / 0.7593 GB, free: 9.973 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.6932, allocations: 0 / 0.7593 GB, free: 9.973 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.6933, allocations: 11.98 kB / 0.7593 GB, free: 9.961 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.6934, allocations: 23.97 kB / 0.7593 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.6934, allocations: 15.98 kB / 0.7593 GB, free: 9.922 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002094/0.6937, allocations: 209.6 kB / 0.7595 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6937, allocations: 3.938 kB / 0.7595 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003152/0.694, allocations: 56 kB / 0.7596 GB, free: 9.66 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.001651/0.6956, allocations: 1.083 MB / 0.7606 GB, free: 8.633 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003763/0.696, allocations: 207.8 kB / 0.7608 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.696, allocations: 0 / 0.7608 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.6963, allocations: 123.8 kB / 0.761 GB, free: 8.309 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.6966, allocations: 13.28 kB / 0.761 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009822/0.6975, allocations: 455.9 kB / 0.7614 GB, free: 7.812 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/0.6981, allocations: 0.7575 MB / 0.7622 GB, free: 7.027 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003677/0.6984, allocations: 159 kB / 0.7623 GB, free: 6.871 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.6986, allocations: 91.39 kB / 0.7624 GB, free: 6.781 MB / 0.5417 GB Notification: Performance of SimCode: time 3.61e-07/0.6986, allocations: 0 / 0.7624 GB, free: 6.781 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3718/1.07, allocations: 4.979 MB / 0.7673 GB, free: 1.844 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/1.071, allocations: 179.4 kB / 0.7674 GB, free: 1.652 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/3.067, allocations: 0 / 0.7674 GB, free: 1.652 MB / 0.5417 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/linux/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)