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.001338/0.001338, allocations: 105.4 kB / 15.7 MB, free: 24 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.001545/0.001545, allocations: 187.5 kB / 16.64 MB, free: 6.594 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.511/1.511, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.708/1.708, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.002507/0.002507, allocations: 78.94 kB / 0.6718 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2388, allocations: 114.6 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002928/0.2417, allocations: 1.604 MB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.2432, allocations: 1.075 MB / 0.7863 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.2433, allocations: 0 / 0.7863 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.2435, allocations: 19.86 kB / 0.7863 GB, free: 10.56 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.0002759/0.2438, allocations: 75.59 kB / 0.7864 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.2441, allocations: 114.8 kB / 0.7865 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.2444, allocations: 229.6 kB / 0.7867 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.2445, allocations: 24.2 kB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.694e-05/0.2446, allocations: 83.7 kB / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.2448, allocations: 87.77 kB / 0.7869 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.2449, allocations: 16 kB / 0.7869 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.245, allocations: 67.97 kB / 0.787 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.544e-05/0.2451, allocations: 75.8 kB / 0.787 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.2452, allocations: 103.4 kB / 0.7871 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.2455, allocations: 275 kB / 0.7874 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2455, allocations: 0 / 0.7874 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2455, allocations: 0 / 0.7874 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.2455, allocations: 0 / 0.7874 GB, free: 9.43 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.0007678/0.2463, allocations: 0.5189 MB / 0.7879 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.2464, allocations: 8.031 kB / 0.7879 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.096e-05/0.2464, allocations: 54.73 kB / 0.788 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.2465, allocations: 24.66 kB / 0.788 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.2468, allocations: 263.7 kB / 0.7882 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.2468, allocations: 12.38 kB / 0.7882 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.2468, allocations: 16.38 kB / 0.7883 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.2472, allocations: 213.4 kB / 0.7885 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2472, allocations: 0 / 0.7885 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.2472, allocations: 8 kB / 0.7885 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.2472, allocations: 4 kB / 0.7885 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007796/0.248, allocations: 0.7339 MB / 0.7892 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007756/0.2488, allocations: 0.559 MB / 0.7897 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.2493, allocations: 303.6 kB / 0.79 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.2494, allocations: 101.4 kB / 0.7901 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.174e-05/0.2495, allocations: 16.25 kB / 0.7901 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000312/0.2498, allocations: 180.9 kB / 0.7903 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=34): time 1.483e-06/0.2498, allocations: 3.938 kB / 0.7903 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34): time 0.0006147/0.2504, allocations: 367.2 kB / 0.7907 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.2505, allocations: 136.5 kB / 0.7908 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.2508, allocations: 300 kB / 0.7911 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.2508, allocations: 29.7 kB / 0.7911 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.131e-05/0.2509, allocations: 132.6 kB / 0.7912 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.572e-05/0.251, allocations: 102.5 kB / 0.7913 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-05/0.2511, allocations: 65.69 kB / 0.7914 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.2512, allocations: 342.8 kB / 0.7917 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.2513, allocations: 83.94 kB / 0.7918 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.2515, allocations: 123.8 kB / 0.7919 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.2518, allocations: 212.9 kB / 0.7921 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2518, allocations: 0 / 0.7921 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003996/0.2522, allocations: 289.4 kB / 0.7924 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2523, allocations: 12 kB / 0.7924 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2523, allocations: 4 kB / 0.7924 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2523, allocations: 0 / 0.7924 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.2525, allocations: 63.91 kB / 0.7925 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.2525, allocations: 0 / 0.7925 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.2527, allocations: 23.83 kB / 0.7925 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.2527, allocations: 15.94 kB / 0.7925 GB, free: 3.898 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.0001443/0.2529, allocations: 162.4 kB / 0.7927 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.2529, allocations: 27.72 kB / 0.7927 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005024/0.2534, allocations: 320.4 kB / 0.793 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2534, allocations: 4 kB / 0.793 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2534, allocations: 0 / 0.793 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.2535, allocations: 8.016 kB / 0.793 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.2537, allocations: 333.1 kB / 0.7933 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.2537, allocations: 0 / 0.7933 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.2539, allocations: 63.91 kB / 0.7934 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2539, allocations: 0 / 0.7934 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.254, allocations: 11.98 kB / 0.7934 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.254, allocations: 0 / 0.7934 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.254, allocations: 0 / 0.7934 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004242/0.2544, allocations: 320.6 kB / 0.7937 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.2545, allocations: 140.7 kB / 0.7938 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.2546, allocations: 11.94 kB / 0.7938 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.2547, allocations: 18.94 kB / 0.7939 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.2548, allocations: 27.97 kB / 0.7939 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.2548, allocations: 11.98 kB / 0.7939 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002001/0.255, allocations: 237.5 kB / 0.7941 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.255, allocations: 0 / 0.7941 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002779/0.2553, allocations: 55.98 kB / 0.7942 GB, free: 2.082 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.001503/0.2568, allocations: 1.161 MB / 0.7953 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000395/0.2572, allocations: 223.8 kB / 0.7955 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2572, allocations: 4 kB / 0.7955 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.2574, allocations: 123.8 kB / 0.7957 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.2577, allocations: 37.92 kB / 0.7957 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.2604, allocations: 2.466 MB / 0.7981 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.2607, allocations: 0.7574 MB / 0.7988 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003138/0.261, allocations: 142.9 kB / 0.799 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.2611, allocations: 87.39 kB / 0.7991 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2611, allocations: 0 / 0.7991 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.2859, allocations: 5.375 MB / 0.8043 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/7.81, allocations: 2.734 kB / 0.8043 GB, free: 7.887 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)