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.01021/0.01021, 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 1.046/1.046, allocations: 135.2 MB / 151 MB, free: 13.81 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.523/1.523, 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.0009469/0.0009466, allocations: 104.1 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003895, allocations: 15.97 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.4413, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.5868, allocations: 114.9 MB / 0.7617 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.5871, allocations: 87.95 kB / 0.7618 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02104/0.6082, allocations: 8.254 MB / 0.7699 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.634e-06/0.6082, allocations: 0 / 0.7699 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.221e-05/0.6082, allocations: 8 kB / 0.7699 GB, free: 8.695 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.0007844/0.609, allocations: 0.5031 MB / 0.7704 GB, free: 8.145 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.6091, allocations: 8.031 kB / 0.7704 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.099e-05/0.6092, allocations: 50.55 kB / 0.7704 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.158e-05/0.6093, allocations: 23.72 kB / 0.7705 GB, free: 8.055 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.6097, allocations: 270.4 kB / 0.7707 GB, free: 7.75 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.6097, allocations: 16 kB / 0.7707 GB, free: 7.734 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.6097, allocations: 15.98 kB / 0.7708 GB, free: 7.719 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.6101, allocations: 206.3 kB / 0.771 GB, free: 7.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.6101, allocations: 3.938 kB / 0.771 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.6102, allocations: 8 kB / 0.771 GB, free: 7.488 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.6102, allocations: 4 kB / 0.771 GB, free: 7.484 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008667/0.611, allocations: 0.7333 MB / 0.7717 GB, free: 6.75 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009123/0.612, allocations: 0.567 MB / 0.7722 GB, free: 6.129 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/0.6125, allocations: 300.6 kB / 0.7725 GB, free: 5.828 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.99e-05/0.6125, allocations: 24.19 kB / 0.7726 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002924/0.6128, allocations: 171.2 kB / 0.7727 GB, free: 5.629 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 2.195e-06/0.6128, allocations: 0 / 0.7727 GB, free: 5.629 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34): time 0.0006516/0.6135, allocations: 370.8 kB / 0.7731 GB, free: 5.262 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.787e-05/0.6136, allocations: 132.5 kB / 0.7732 GB, free: 5.102 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.6139, allocations: 263.2 kB / 0.7734 GB, free: 4.832 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.614, allocations: 33.7 kB / 0.7735 GB, free: 4.793 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.614, allocations: 124.6 kB / 0.7736 GB, free: 4.668 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.636e-05/0.6141, allocations: 110.4 kB / 0.7737 GB, free: 4.559 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/0.6142, allocations: 8 kB / 0.7737 GB, free: 4.551 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.6143, allocations: 342.8 kB / 0.774 GB, free: 4.207 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.6144, allocations: 75.95 kB / 0.7741 GB, free: 4.133 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.6146, allocations: 131.4 kB / 0.7742 GB, free: 3.992 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.6148, allocations: 95.97 kB / 0.7743 GB, free: 3.898 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.6148, allocations: 4 kB / 0.7743 GB, free: 3.895 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004075/0.6152, allocations: 281.6 kB / 0.7746 GB, free: 3.613 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.6152, allocations: 4 kB / 0.7746 GB, free: 3.609 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.6152, allocations: 4 kB / 0.7746 GB, free: 3.605 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.6152, allocations: 0 / 0.7746 GB, free: 3.605 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.6155, allocations: 63.91 kB / 0.7747 GB, free: 3.543 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.6155, allocations: 4 kB / 0.7747 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.6157, allocations: 27.73 kB / 0.7747 GB, free: 3.512 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.6157, allocations: 11.95 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.0001583/0.6159, allocations: 161.8 kB / 0.7749 GB, free: 3.332 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.6159, allocations: 31.7 kB / 0.7749 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006596/0.6166, allocations: 384.6 kB / 0.7753 GB, free: 2.922 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.6166, allocations: 4 kB / 0.7753 GB, free: 2.918 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6166, allocations: 0 / 0.7753 GB, free: 2.918 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6166, allocations: 0 / 0.7753 GB, free: 2.918 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.6169, allocations: 345.1 kB / 0.7756 GB, free: 2.531 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.617, allocations: 0 / 0.7756 GB, free: 2.531 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.6171, allocations: 63.91 kB / 0.7757 GB, free: 2.469 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.6171, allocations: 0 / 0.7757 GB, free: 2.469 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.6172, allocations: 15.92 kB / 0.7757 GB, free: 2.453 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.6172, allocations: 8 kB / 0.7757 GB, free: 2.445 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6172, allocations: 0 / 0.7757 GB, free: 2.445 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.6177, allocations: 321.6 kB / 0.776 GB, free: 2.113 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.6178, allocations: 156.7 kB / 0.7761 GB, free: 1.941 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.6179, allocations: 4 kB / 0.7761 GB, free: 1.938 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.618, allocations: 19.98 kB / 0.7762 GB, free: 1.918 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.6181, allocations: 20.02 kB / 0.7762 GB, free: 1.898 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.6181, allocations: 27.91 kB / 0.7762 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001964/0.6183, allocations: 217.6 kB / 0.7764 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6183, allocations: 0 / 0.7764 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003101/0.6187, allocations: 64 kB / 0.7765 GB, free: 1.598 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.00155/0.6202, allocations: 1.161 MB / 0.7776 GB, free: 0.5625 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003685/0.6206, allocations: 227.6 kB / 0.7778 GB, free: 348 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6206, allocations: 0 / 0.7778 GB, free: 348 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.6208, allocations: 127.8 kB / 0.7779 GB, free: 220 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.621, allocations: 27.08 kB / 0.778 GB, free: 192 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.00212/0.6231, allocations: 1.463 MB / 0.7794 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.6235, allocations: 0.7613 MB / 0.7801 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003281/0.6238, allocations: 158.9 kB / 0.7803 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.6239, allocations: 91.39 kB / 0.7804 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of SimCode: time 3.7e-07/0.624, allocations: 0 / 0.7804 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3523/0.9762, allocations: 5.489 MB / 0.7857 GB, free: 8.309 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/0.9765, allocations: 246.8 kB / 0.786 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.893, allocations: 0 / 0.786 GB, free: 8.062 MB / 0.5573 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)