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.008454/0.008454, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7745/0.7745, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.2 MB / 406.8 MB, free: 3.242 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.0009514/0.0009516, allocations: 97.16 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 8 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4517/0.4521, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1652/0.6174, allocations: 114.9 MB / 0.7617 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.6177, allocations: 95.92 kB / 0.7618 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0225/0.6402, allocations: 8.239 MB / 0.7699 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.535e-06/0.6403, allocations: 0 / 0.7699 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.881e-05/0.6403, allocations: 4 kB / 0.7699 GB, free: 8.723 MB / 0.5417 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.0008621/0.6412, allocations: 0.5109 MB / 0.7704 GB, free: 8.164 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.6412, allocations: 12.03 kB / 0.7704 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.855e-05/0.6413, allocations: 46.55 kB / 0.7704 GB, free: 8.098 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.845e-05/0.6414, allocations: 23.72 kB / 0.7705 GB, free: 8.074 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.6418, allocations: 274.4 kB / 0.7707 GB, free: 7.766 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.6419, allocations: 16 kB / 0.7707 GB, free: 7.75 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.281e-05/0.6419, allocations: 12 kB / 0.7707 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.6423, allocations: 210.3 kB / 0.7709 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.6423, allocations: 3.938 kB / 0.771 GB, free: 7.512 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.6424, allocations: 8 kB / 0.771 GB, free: 7.504 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.6424, allocations: 4 kB / 0.771 GB, free: 7.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009654/0.6434, allocations: 0.7372 MB / 0.7717 GB, free: 6.762 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009886/0.6444, allocations: 0.563 MB / 0.7722 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005339/0.6449, allocations: 304.6 kB / 0.7725 GB, free: 5.84 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.745e-05/0.645, allocations: 16.25 kB / 0.7725 GB, free: 5.824 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003022/0.6453, allocations: 171.2 kB / 0.7727 GB, free: 5.648 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 1.913e-06/0.6453, allocations: 0 / 0.7727 GB, free: 5.648 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34): time 0.0007188/0.646, allocations: 370.7 kB / 0.7731 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/0.6461, allocations: 136.5 kB / 0.7732 GB, free: 5.117 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.6464, allocations: 267.1 kB / 0.7734 GB, free: 4.844 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.6465, allocations: 33.7 kB / 0.7735 GB, free: 4.805 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.124e-05/0.6466, allocations: 128.6 kB / 0.7736 GB, free: 4.676 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.6467, allocations: 106.5 kB / 0.7737 GB, free: 4.57 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.656e-05/0.6467, allocations: 8 kB / 0.7737 GB, free: 4.562 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.6469, allocations: 334.8 kB / 0.774 GB, free: 4.227 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.6471, allocations: 75.95 kB / 0.7741 GB, free: 4.152 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.6473, allocations: 147.4 kB / 0.7742 GB, free: 3.996 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.6474, allocations: 95.97 kB / 0.7743 GB, free: 3.902 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6475, allocations: 0 / 0.7743 GB, free: 3.902 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004463/0.6479, allocations: 277.6 kB / 0.7746 GB, free: 3.625 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.6479, allocations: 8 kB / 0.7746 GB, free: 3.617 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.648, allocations: 7.969 kB / 0.7746 GB, free: 3.609 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.648, allocations: 0 / 0.7746 GB, free: 3.609 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.6482, allocations: 59.91 kB / 0.7747 GB, free: 3.551 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.6482, allocations: 0 / 0.7747 GB, free: 3.551 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.6484, allocations: 31.75 kB / 0.7747 GB, free: 3.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.6484, allocations: 19.94 kB / 0.7747 GB, free: 3.5 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001829/0.6486, allocations: 161.8 kB / 0.7749 GB, free: 3.332 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.6487, allocations: 23.72 kB / 0.7749 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006885/0.6494, allocations: 380.6 kB / 0.7753 GB, free: 2.934 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.6494, allocations: 4 kB / 0.7753 GB, free: 2.93 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.6494, allocations: 0 / 0.7753 GB, free: 2.93 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.6494, allocations: 7.984 kB / 0.7753 GB, free: 2.922 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/0.6498, allocations: 345.1 kB / 0.7756 GB, free: 2.535 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.6498, allocations: 0 / 0.7756 GB, free: 2.535 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.65, allocations: 59.91 kB / 0.7757 GB, free: 2.477 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.65, allocations: 0 / 0.7757 GB, free: 2.477 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.6501, allocations: 11.94 kB / 0.7757 GB, free: 2.465 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.6501, allocations: 3.984 kB / 0.7757 GB, free: 2.461 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.6501, allocations: 3.984 kB / 0.7757 GB, free: 2.457 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004573/0.6505, allocations: 329.6 kB / 0.776 GB, free: 2.117 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.6507, allocations: 148.7 kB / 0.7761 GB, free: 1.953 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.6508, allocations: 8 kB / 0.7761 GB, free: 1.945 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.6509, allocations: 19.98 kB / 0.7762 GB, free: 1.926 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.651, allocations: 19.97 kB / 0.7762 GB, free: 1.906 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.6511, allocations: 19.98 kB / 0.7762 GB, free: 1.887 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002294/0.6513, allocations: 221.6 kB / 0.7764 GB, free: 1.672 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.32e-07/0.6513, allocations: 0 / 0.7764 GB, free: 1.672 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003535/0.6517, allocations: 63.98 kB / 0.7765 GB, free: 1.609 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) * 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 (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.001784/0.6535, allocations: 1.161 MB / 0.7776 GB, free: 0.5703 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004799/0.654, allocations: 223.6 kB / 0.7778 GB, free: 360 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.654, allocations: 4 kB / 0.7778 GB, free: 356 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.6542, allocations: 131.8 kB / 0.7779 GB, free: 224 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.6544, allocations: 23.5 kB / 0.778 GB, free: 200 kB / 0.5417 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos")) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.6568, allocations: 1.468 MB / 0.7794 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.6572, allocations: 0.7613 MB / 0.7801 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003671/0.6576, allocations: 150.8 kB / 0.7803 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.6578, allocations: 99.33 kB / 0.7804 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of SimCode: time 1.262e-06/0.6578, allocations: 0 / 0.7804 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4045/1.062, allocations: 5.482 MB / 0.7857 GB, free: 8.305 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/1.062, allocations: 241.1 kB / 0.786 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.21/5.272, allocations: 0 / 0.786 GB, free: 8.062 MB / 0.5573 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)