Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_8_Buildings_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.001298/0.001298, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 189.6 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.586/1.586, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 68.44 kB / 0.6718 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1992, allocations: 114.6 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003095/0.2023, allocations: 1.611 MB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.2038, allocations: 1.075 MB / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.072e-05/0.2039, allocations: 4 kB / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.2041, allocations: 27.84 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.2044, allocations: 62.95 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.2048, allocations: 119.6 kB / 0.7865 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.205, allocations: 229.6 kB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.494e-05/0.2051, allocations: 20.16 kB / 0.7867 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.2052, allocations: 87.8 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.2055, allocations: 96.64 kB / 0.7869 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.2055, allocations: 16 kB / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.2056, allocations: 55.98 kB / 0.7869 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.825e-05/0.2057, allocations: 79.81 kB / 0.787 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.2058, allocations: 99.39 kB / 0.7871 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003295/0.2062, allocations: 267.1 kB / 0.7874 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2062, allocations: 0 / 0.7874 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2062, allocations: 0 / 0.7874 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.2062, allocations: 0 / 0.7874 GB, free: 9.414 MB / 0.6075 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.0006987/0.2069, allocations: 0.5267 MB / 0.7879 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.207, allocations: 12.03 kB / 0.7879 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.963e-05/0.207, allocations: 50.67 kB / 0.7879 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.678e-05/0.2071, allocations: 24.66 kB / 0.788 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.2074, allocations: 259.8 kB / 0.7882 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.2074, allocations: 16.31 kB / 0.7882 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.2074, allocations: 12.38 kB / 0.7882 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.2077, allocations: 221.4 kB / 0.7885 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.2077, allocations: 0 / 0.7885 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.2078, allocations: 4 kB / 0.7885 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.2078, allocations: 4 kB / 0.7885 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008117/0.2086, allocations: 0.734 MB / 0.7892 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007735/0.2094, allocations: 0.5667 MB / 0.7897 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.2098, allocations: 299.6 kB / 0.79 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.21, allocations: 109.4 kB / 0.7901 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.747e-05/0.2101, allocations: 16.25 kB / 0.7901 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003374/0.2104, allocations: 176.9 kB / 0.7903 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=34): time 1.843e-06/0.2104, allocations: 0 / 0.7903 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34): time 0.000614/0.211, allocations: 363.2 kB / 0.7907 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.73e-05/0.2111, allocations: 140.5 kB / 0.7908 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.2114, allocations: 296.1 kB / 0.7911 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.2114, allocations: 33.7 kB / 0.7911 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.575e-05/0.2115, allocations: 128.6 kB / 0.7912 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.439e-05/0.2116, allocations: 110.5 kB / 0.7913 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.056e-05/0.2117, allocations: 65.69 kB / 0.7914 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2118, allocations: 334.8 kB / 0.7917 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.2119, allocations: 87.89 kB / 0.7918 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.2121, allocations: 135.8 kB / 0.7919 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002975/0.2124, allocations: 204.9 kB / 0.7921 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2124, allocations: 3.938 kB / 0.7921 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004067/0.2129, allocations: 285.5 kB / 0.7924 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.2129, allocations: 7.938 kB / 0.7924 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2129, allocations: 0 / 0.7924 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.2129, allocations: 4 kB / 0.7924 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.2131, allocations: 63.91 kB / 0.7925 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.2131, allocations: 4 kB / 0.7925 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.2133, allocations: 23.83 kB / 0.7925 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.2133, allocations: 15.94 kB / 0.7925 GB, free: 3.867 MB / 0.6075 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.2134, allocations: 157.8 kB / 0.7927 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.2135, allocations: 27.7 kB / 0.7927 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004948/0.214, allocations: 324.3 kB / 0.793 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.214, allocations: 4 kB / 0.793 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.214, allocations: 0 / 0.793 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.214, allocations: 0 / 0.793 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.2143, allocations: 341.1 kB / 0.7933 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2143, allocations: 0 / 0.7933 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.2145, allocations: 55.91 kB / 0.7934 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2145, allocations: 0 / 0.7934 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.2145, allocations: 16 kB / 0.7934 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2145, allocations: 0 / 0.7934 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2145, allocations: 4 kB / 0.7934 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004395/0.215, allocations: 316.6 kB / 0.7937 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.2151, allocations: 140.7 kB / 0.7938 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.2152, allocations: 4 kB / 0.7938 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.2153, allocations: 15.98 kB / 0.7939 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.2154, allocations: 23.97 kB / 0.7939 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.2154, allocations: 11.98 kB / 0.7939 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001995/0.2156, allocations: 245.5 kB / 0.7941 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2156, allocations: 0 / 0.7941 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002869/0.2159, allocations: 63.98 kB / 0.7942 GB, free: 2.051 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001467/0.2174, allocations: 1.15 MB / 0.7953 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003809/0.2178, allocations: 227.8 kB / 0.7955 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2178, allocations: 0 / 0.7955 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.218, allocations: 131.8 kB / 0.7956 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.2182, allocations: 39.7 kB / 0.7957 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.221, allocations: 2.454 MB / 0.7981 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.2213, allocations: 0.7535 MB / 0.7988 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003246/0.2216, allocations: 142.9 kB / 0.799 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.2218, allocations: 91.39 kB / 0.799 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of SimCode: time 4.21e-07/0.2218, allocations: 4 kB / 0.799 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.007/1.228, allocations: 5.365 MB / 0.8043 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.994/11.22, allocations: 2.734 kB / 0.8043 GB, free: 7.871 MB / 0.6231 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)