Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.974/2.974, allocations: 287.3 MB / 302.3 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001552/0.001552, allocations: 177.1 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.29/2.29, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002167/0.002166, allocations: 101.5 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004763/0.0004767, allocations: 12.09 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2467, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002106/0.2489, allocations: 1.304 MB / 0.9796 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.2507, allocations: 0.9939 MB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.317e-05/0.2508, allocations: 0 / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.2511, allocations: 23.8 kB / 0.9806 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.2514, allocations: 51.81 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.2518, allocations: 101.4 kB / 0.9807 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.2521, allocations: 137.8 kB / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2522, allocations: 20.25 kB / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.115e-05/0.2523, allocations: 63.83 kB / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.2525, allocations: 63.8 kB / 0.981 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.2526, allocations: 8 kB / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.2528, allocations: 43.92 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.231e-05/0.2529, allocations: 67.81 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.707e-05/0.253, allocations: 57.58 kB / 0.9811 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.2533, allocations: 195.5 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.2533, allocations: 0 / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2533, allocations: 0 / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.2533, allocations: 4 kB / 0.9813 GB, free: 25.16 MB / 0.6198 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.0008553/0.2542, allocations: 487.4 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.2542, allocations: 8.031 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.5e-05/0.2543, allocations: 54.55 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.263e-05/0.2544, allocations: 31.61 kB / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.2547, allocations: 258.5 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.2547, allocations: 8 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.2548, allocations: 19.94 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004465/0.2553, allocations: 212.7 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.2553, allocations: 0 / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.2553, allocations: 4 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2553, allocations: 4 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.2566, allocations: 0.7373 MB / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.2579, allocations: 0.5668 MB / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007039/0.2586, allocations: 287.7 kB / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-05/0.2587, allocations: 20.25 kB / 0.9839 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004215/0.2591, allocations: 178 kB / 0.9841 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=34): time 3.546e-06/0.2591, allocations: 4 kB / 0.9841 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.0009538/0.2601, allocations: 365.1 kB / 0.9845 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.2602, allocations: 136.5 kB / 0.9846 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/0.2606, allocations: 293.4 kB / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.2606, allocations: 29.7 kB / 0.9849 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.2607, allocations: 124.7 kB / 0.985 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.2608, allocations: 118.3 kB / 0.9851 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/0.2609, allocations: 4 kB / 0.9851 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.209e-05/0.261, allocations: 338.8 kB / 0.9855 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.2612, allocations: 79.95 kB / 0.9855 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.2615, allocations: 127.3 kB / 0.9857 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.2617, allocations: 104.4 kB / 0.9858 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2617, allocations: 0 / 0.9858 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006367/0.2624, allocations: 273.3 kB / 0.986 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.2624, allocations: 5.719 kB / 0.986 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2624, allocations: 4 kB / 0.986 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.2625, allocations: 4 kB / 0.986 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/0.2629, allocations: 63.86 kB / 0.9861 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.2629, allocations: 0 / 0.9861 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.2632, allocations: 30.47 kB / 0.9861 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.2632, allocations: 15.98 kB / 0.9861 GB, free: 19.96 MB / 0.6198 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.0001966/0.2634, allocations: 161.8 kB / 0.9863 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-05/0.2635, allocations: 35.5 kB / 0.9863 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.2645, allocations: 385.4 kB / 0.9867 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.2646, allocations: 4 kB / 0.9867 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/0.2646, allocations: 3.953 kB / 0.9867 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.2646, allocations: 3.984 kB / 0.9867 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/0.265, allocations: 329.2 kB / 0.987 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.265, allocations: 0 / 0.987 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003528/0.2654, allocations: 59.91 kB / 0.9871 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.2654, allocations: 4 kB / 0.9871 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.2654, allocations: 16 kB / 0.9871 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.2654, allocations: 0 / 0.9871 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2655, allocations: 0 / 0.9871 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006501/0.2661, allocations: 321.6 kB / 0.9874 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.2663, allocations: 148.7 kB / 0.9875 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.677e-05/0.2664, allocations: 4 kB / 0.9875 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.2666, allocations: 27.92 kB / 0.9876 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.269e-05/0.2667, allocations: 19.97 kB / 0.9876 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/0.2668, allocations: 16.05 kB / 0.9876 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002433/0.267, allocations: 228.4 kB / 0.9878 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.267, allocations: 0 / 0.9878 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004139/0.2675, allocations: 59.95 kB / 0.9879 GB, free: 18.07 MB / 0.6198 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.00193/0.2694, allocations: 1.155 MB / 0.989 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006026/0.27, allocations: 219.8 kB / 0.9892 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.2701, allocations: 4 kB / 0.9892 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.2703, allocations: 127.8 kB / 0.9893 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.2707, allocations: 24.66 kB / 0.9894 GB, free: 16.67 MB / 0.6198 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.002869/0.2735, allocations: 1.437 MB / 0.9908 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.2738, allocations: 0.7613 MB / 0.9915 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005507/0.2744, allocations: 142.9 kB / 0.9916 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.2746, allocations: 95.33 kB / 0.9917 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of SimCode: time 1.233e-06/0.2746, allocations: 4 kB / 0.9917 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5207/0.7953, allocations: 5.333 MB / 0.997 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/0.7956, allocations: 253.3 kB / 0.9972 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.588/3.383, allocations: 0 / 0.9972 GB, free: 8.695 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)