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.001131/0.001131, allocations: 108 kB / 15.6 MB, free: 132 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.001209/0.001209, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.461/1.461, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.672/1.672, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001412/0.001412, allocations: 69.09 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2247, allocations: 114.5 MB / 0.7835 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003949/0.2287, allocations: 1.631 MB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001881/0.2306, allocations: 1.067 MB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.2308, allocations: 0 / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.231, allocations: 23.86 kB / 0.7861 GB, free: 10.6 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.0003705/0.2315, allocations: 67.62 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.2319, allocations: 114.9 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003145/0.2322, allocations: 225.6 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.2323, allocations: 24.2 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.2325, allocations: 79.83 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.2328, allocations: 91.64 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.82e-05/0.2328, allocations: 16 kB / 0.7867 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.233, allocations: 71.97 kB / 0.7868 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.2332, allocations: 75.81 kB / 0.7869 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.2333, allocations: 99.39 kB / 0.787 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004413/0.2337, allocations: 259.2 kB / 0.7872 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2337, allocations: 0 / 0.7872 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2338, allocations: 0 / 0.7872 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.2338, allocations: 0 / 0.7872 GB, free: 9.496 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.000948/0.2347, allocations: 0.5344 MB / 0.7877 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.2348, allocations: 12.03 kB / 0.7877 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.21e-05/0.2349, allocations: 46.73 kB / 0.7878 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.025e-05/0.2349, allocations: 24.66 kB / 0.7878 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.2352, allocations: 271.7 kB / 0.7881 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.2353, allocations: 8.375 kB / 0.7881 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.2353, allocations: 12.38 kB / 0.7881 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003667/0.2357, allocations: 217.4 kB / 0.7883 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2357, allocations: 0 / 0.7883 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.2357, allocations: 8 kB / 0.7883 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.2357, allocations: 4 kB / 0.7883 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008827/0.2366, allocations: 0.7339 MB / 0.789 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009109/0.2376, allocations: 0.5668 MB / 0.7896 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005172/0.2381, allocations: 299.6 kB / 0.7899 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.2382, allocations: 97.38 kB / 0.79 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.321e-05/0.2383, allocations: 28.22 kB / 0.79 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003719/0.2387, allocations: 172.9 kB / 0.7901 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.2387, allocations: 0 / 0.7901 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34): time 0.0006644/0.2394, allocations: 371.2 kB / 0.7905 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.506e-05/0.2395, allocations: 136.5 kB / 0.7906 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.2397, allocations: 300 kB / 0.7909 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.2398, allocations: 29.7 kB / 0.7909 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/0.2399, allocations: 128.6 kB / 0.7911 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.786e-05/0.24, allocations: 110.5 kB / 0.7912 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.838e-05/0.2401, allocations: 61.69 kB / 0.7912 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2402, allocations: 346.8 kB / 0.7916 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.2404, allocations: 79.95 kB / 0.7916 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.2406, allocations: 127.8 kB / 0.7918 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.2409, allocations: 212.9 kB / 0.792 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2409, allocations: 4 kB / 0.792 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004735/0.2414, allocations: 281.5 kB / 0.7922 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.2414, allocations: 4 kB / 0.7922 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2414, allocations: 0 / 0.7922 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2415, allocations: 11.94 kB / 0.7923 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.2417, allocations: 59.91 kB / 0.7923 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2417, allocations: 0 / 0.7923 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.2419, allocations: 27.83 kB / 0.7923 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.2419, allocations: 15.92 kB / 0.7924 GB, free: 3.945 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.000178/0.2421, allocations: 162.4 kB / 0.7925 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.2422, allocations: 23.72 kB / 0.7925 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005348/0.2427, allocations: 320.4 kB / 0.7928 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2427, allocations: 4 kB / 0.7928 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2427, allocations: 3.984 kB / 0.7928 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.2427, allocations: 4 kB / 0.7928 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.243, allocations: 337.1 kB / 0.7932 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2431, allocations: 0 / 0.7932 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.2432, allocations: 59.91 kB / 0.7932 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.2432, allocations: 4 kB / 0.7932 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.2433, allocations: 15.98 kB / 0.7932 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2433, allocations: 0 / 0.7932 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2433, allocations: 0 / 0.7932 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004492/0.2437, allocations: 320.6 kB / 0.7935 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.2439, allocations: 136.7 kB / 0.7937 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.2439, allocations: 15.98 kB / 0.7937 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.2441, allocations: 8 kB / 0.7937 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.2441, allocations: 27.95 kB / 0.7937 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.2442, allocations: 16 kB / 0.7937 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001927/0.2444, allocations: 237.5 kB / 0.794 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2444, allocations: 0 / 0.794 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002792/0.2447, allocations: 52 kB / 0.794 GB, free: 2.133 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.001537/0.2462, allocations: 1.152 MB / 0.7951 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004933/0.2467, allocations: 303.7 kB / 0.7954 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2467, allocations: 0 / 0.7954 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.2469, allocations: 127.8 kB / 0.7956 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.2472, allocations: 35.09 kB / 0.7956 GB, free: 0.6328 MB / 0.6075 GB 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.002936/0.2501, allocations: 2.451 MB / 0.798 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.2505, allocations: 0.7496 MB / 0.7987 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003051/0.2508, allocations: 146.9 kB / 0.7989 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.2509, allocations: 91.39 kB / 0.7989 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.2509, allocations: 0 / 0.7989 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5305/0.7814, allocations: 5.403 MB / 0.8042 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.282/8.064, allocations: 19.78 kB / 0.8042 GB, free: 7.824 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv --start-time 0 --stop-time 432000 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)