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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 100 kB / 15.05 MB, free: 1.105 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.001326/0.001326, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.745/1.745, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.141/1.141, allocations: 132.2 MB / 423.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006046/0.0006052, allocations: 8 kB / 0.5033 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.668/0.6686, allocations: 81.57 MB / 0.583 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003104/0.6718, allocations: 1.312 MB / 0.5843 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002617/0.6744, allocations: 1.074 MB / 0.5853 GB, free: 2.316 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.6746, allocations: 0.5938 kB / 0.5853 GB, free: 2.316 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.6749, allocations: 26.73 kB / 0.5853 GB, free: 2.301 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004489/0.6754, allocations: 58.2 kB / 0.5854 GB, free: 2.266 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006173/0.676, allocations: 114.5 kB / 0.5855 GB, free: 2.211 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003872/0.6764, allocations: 136.9 kB / 0.5856 GB, free: 2.148 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.6766, allocations: 15.27 kB / 0.5856 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.6768, allocations: 69.02 kB / 0.5857 GB, free: 2.117 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003032/0.6771, allocations: 56.47 kB / 0.5858 GB, free: 2.098 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.983e-05/0.6772, allocations: 8 kB / 0.5858 GB, free: 2.098 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.6775, allocations: 59.75 kB / 0.5858 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.6776, allocations: 71.25 kB / 0.5859 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.613e-05/0.6777, allocations: 48.58 kB / 0.5859 GB, free: 2.008 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004827/0.6782, allocations: 198.6 kB / 0.5861 GB, free: 1.953 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.6783, allocations: 0 / 0.5861 GB, free: 1.953 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.349e-06/0.6783, allocations: 1.469 kB / 0.5861 GB, free: 1.953 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.108e-05/0.6783, allocations: 0 / 0.5861 GB, free: 1.953 MB / 430.1 MB 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.001097/0.6794, allocations: 0.4917 MB / 0.5866 GB, free: 1.492 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.6795, allocations: 10.59 kB / 0.5866 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.6796, allocations: 47.03 kB / 0.5867 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.6797, allocations: 24.53 kB / 0.5867 GB, free: 1.434 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.6801, allocations: 257.2 kB / 0.5869 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.6802, allocations: 12.81 kB / 0.5869 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.6802, allocations: 12.59 kB / 0.587 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005774/0.6808, allocations: 207 kB / 0.5872 GB, free: 1.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.6808, allocations: 0 / 0.5872 GB, free: 1.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.6809, allocations: 6.219 kB / 0.5872 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.6809, allocations: 3.781 kB / 0.5872 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.6827, allocations: 0.7424 MB / 0.5879 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.6841, allocations: 0.5629 MB / 0.5884 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008346/0.685, allocations: 294.3 kB / 0.5887 GB, free: 484 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.921e-05/0.6851, allocations: 21.95 kB / 0.5887 GB, free: 476 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004924/0.6856, allocations: 167.7 kB / 0.5889 GB, free: 392 kB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 2.335e-06/0.6856, allocations: 1.156 kB / 0.5889 GB, free: 392 kB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.00115/0.6867, allocations: 375 kB / 0.5893 GB, free: 240 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/0.6868, allocations: 141.9 kB / 0.5894 GB, free: 72 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005205/0.6874, allocations: 293.2 kB / 0.5897 GB, free: 15.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/0.6874, allocations: 32.11 kB / 0.5897 GB, free: 15.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.6876, allocations: 122.4 kB / 0.5898 GB, free: 15.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.6877, allocations: 110.7 kB / 0.5899 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.6878, allocations: 5.375 kB / 0.5899 GB, free: 15.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.688, allocations: 337.9 kB / 0.5903 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.6883, allocations: 79.77 kB / 0.5903 GB, free: 15.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.6886, allocations: 127.4 kB / 0.5904 GB, free: 15.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.689, allocations: 105.9 kB / 0.5905 GB, free: 15.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.689, allocations: 0.8438 kB / 0.5905 GB, free: 15.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007702/0.6898, allocations: 277.4 kB / 0.5908 GB, free: 15.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.6898, allocations: 6.641 kB / 0.5908 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.6898, allocations: 0 / 0.5908 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.6898, allocations: 2.406 kB / 0.5908 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/0.6903, allocations: 67.08 kB / 0.5909 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-05/0.6903, allocations: 4.891 kB / 0.5909 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.6906, allocations: 34.91 kB / 0.5909 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/0.6906, allocations: 14.84 kB / 0.5909 GB, free: 15.06 MB / 446.1 MB 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.0002978/0.6909, allocations: 156.9 kB / 0.5911 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.26e-05/0.691, allocations: 24.73 kB / 0.5911 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.6923, allocations: 382.3 kB / 0.5915 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.6923, allocations: 3.656 kB / 0.5915 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.6923, allocations: 1.875 kB / 0.5915 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.6923, allocations: 5.875 kB / 0.5915 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006592/0.693, allocations: 324.7 kB / 0.5918 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.693, allocations: 0 / 0.5918 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.6933, allocations: 56.8 kB / 0.5919 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/0.6933, allocations: 5.359 kB / 0.5919 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.6933, allocations: 9.766 kB / 0.5919 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/0.6933, allocations: 5.844 kB / 0.5919 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6933, allocations: 0.8906 kB / 0.5919 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007529/0.6941, allocations: 334.7 kB / 0.5922 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.6944, allocations: 148.3 kB / 0.5923 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.914e-05/0.6944, allocations: 5.375 kB / 0.5923 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.6947, allocations: 15.86 kB / 0.5924 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.6948, allocations: 29.36 kB / 0.5924 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/0.6949, allocations: 11.7 kB / 0.5924 GB, free: 14.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004002/0.6953, allocations: 236.6 kB / 0.5926 GB, free: 14.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6953, allocations: 0.7188 kB / 0.5926 GB, free: 14.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005474/0.6958, allocations: 57.27 kB / 0.5927 GB, free: 14.03 MB / 446.1 MB 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.002555/0.6984, allocations: 1.148 MB / 0.5938 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007161/0.6991, allocations: 226.4 kB / 0.594 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6992, allocations: 0 / 0.594 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003225/0.6995, allocations: 127.4 kB / 0.5941 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.6998, allocations: 30.59 kB / 0.5942 GB, free: 13.16 MB / 446.1 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.7035, allocations: 1.451 MB / 0.5956 GB, free: 12.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.704, allocations: 0.762 MB / 0.5963 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005862/0.7046, allocations: 142.8 kB / 0.5965 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.7049, allocations: 91.88 kB / 0.5965 GB, free: 11.6 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.7049, allocations: 4 kB / 0.5966 GB, free: 11.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5131/1.218, allocations: 5.313 MB / 0.6017 GB, free: 9.469 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/1.218, allocations: 232.8 kB / 0.602 GB, free: 9.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/3.304, allocations: 2.953 kB / 0.602 GB, free: 9.23 MB / 446.1 MB (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) Environment - environmentSimulation: