Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IBPSA_latest_IBPSA_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.001001/0.001001, allocations: 103.1 kB / 16.27 MB, free: 6 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.0009409/0.000941, allocations: 186.1 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.211/1.211, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.715/0.715, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 67.89 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2799, allocations: 77.92 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002571/0.2825, allocations: 1.62 MB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.2838, allocations: 1.173 MB / 0.57 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.277e-05/0.2838, allocations: 1.281 kB / 0.57 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.284, allocations: 16.47 kB / 0.57 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.2842, allocations: 79.02 kB / 0.5701 GB, free: 30.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.2845, allocations: 125.8 kB / 0.5702 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.2848, allocations: 237.3 kB / 0.5705 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.259e-05/0.2849, allocations: 17.81 kB / 0.5705 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.577e-05/0.2849, allocations: 78.2 kB / 0.5705 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.2851, allocations: 94.14 kB / 0.5706 GB, free: 30.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.707e-05/0.2852, allocations: 18 kB / 0.5707 GB, free: 30.44 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.2853, allocations: 80.84 kB / 0.5707 GB, free: 30.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.335e-05/0.2854, allocations: 83.83 kB / 0.5708 GB, free: 30.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.005e-05/0.2855, allocations: 99.33 kB / 0.5709 GB, free: 30.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.2858, allocations: 283.2 kB / 0.5712 GB, free: 30.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2858, allocations: 1.281 kB / 0.5712 GB, free: 30.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2858, allocations: 0 / 0.5712 GB, free: 30.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.2858, allocations: 2.094 kB / 0.5712 GB, free: 30.2 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005939/0.2864, allocations: 0.5315 MB / 0.5717 GB, free: 29.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.2865, allocations: 10.59 kB / 0.5717 GB, free: 29.72 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.37e-05/0.2865, allocations: 52.28 kB / 0.5718 GB, free: 29.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.216e-05/0.2866, allocations: 27 kB / 0.5718 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.2868, allocations: 264.1 kB / 0.572 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.2868, allocations: 16.69 kB / 0.5721 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.2868, allocations: 14.72 kB / 0.5721 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.2872, allocations: 219 kB / 0.5723 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.2872, allocations: 0.9375 kB / 0.5723 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.2872, allocations: 10.86 kB / 0.5723 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2872, allocations: 3.406 kB / 0.5723 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008476/0.2881, allocations: 0.7359 MB / 0.573 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006719/0.2887, allocations: 0.5684 MB / 0.5736 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.2892, allocations: 297.7 kB / 0.5738 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.2893, allocations: 103 kB / 0.5739 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.2894, allocations: 22.25 kB / 0.574 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/0.2897, allocations: 182.5 kB / 0.5741 GB, free: 28.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.643e-06/0.2897, allocations: 1.375 kB / 0.5741 GB, free: 28.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.000604/0.2903, allocations: 362.2 kB / 0.5745 GB, free: 28.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.2903, allocations: 133.5 kB / 0.5746 GB, free: 28.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.2906, allocations: 303.8 kB / 0.5749 GB, free: 28.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.2906, allocations: 31.73 kB / 0.5749 GB, free: 28.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.2907, allocations: 123.7 kB / 0.5751 GB, free: 27.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.378e-05/0.2908, allocations: 114 kB / 0.5752 GB, free: 27.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.199e-05/0.2909, allocations: 66.88 kB / 0.5752 GB, free: 27.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.371e-05/0.2909, allocations: 338.4 kB / 0.5755 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.291, allocations: 88.81 kB / 0.5756 GB, free: 27.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.2912, allocations: 126.9 kB / 0.5758 GB, free: 27.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.2915, allocations: 214.9 kB / 0.576 GB, free: 27.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2915, allocations: 0.8438 kB / 0.576 GB, free: 27.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004129/0.2919, allocations: 275.6 kB / 0.5762 GB, free: 27.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.292, allocations: 6.656 kB / 0.5762 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.292, allocations: 0.8438 kB / 0.5762 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.292, allocations: 2.281 kB / 0.5762 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.2922, allocations: 60.16 kB / 0.5763 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2922, allocations: 1.719 kB / 0.5763 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.2924, allocations: 33.05 kB / 0.5763 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.2924, allocations: 14.69 kB / 0.5763 GB, free: 27.18 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 (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.0001194/0.2925, allocations: 166 kB / 0.5765 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.2926, allocations: 30.28 kB / 0.5765 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000617/0.2932, allocations: 384.5 kB / 0.5769 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.2932, allocations: 3.859 kB / 0.5769 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2932, allocations: 0 / 0.5769 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.2932, allocations: 7.062 kB / 0.5769 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.2935, allocations: 325.3 kB / 0.5772 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2935, allocations: 1.266 kB / 0.5772 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.2937, allocations: 60 kB / 0.5773 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.2937, allocations: 2.812 kB / 0.5773 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.2937, allocations: 10.28 kB / 0.5773 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2937, allocations: 6.469 kB / 0.5773 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2937, allocations: 1.375 kB / 0.5773 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.2941, allocations: 332.1 kB / 0.5776 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.283e-05/0.2942, allocations: 140.5 kB / 0.5777 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.2943, allocations: 8.609 kB / 0.5777 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.2944, allocations: 18.58 kB / 0.5778 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.2945, allocations: 25.25 kB / 0.5778 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.2945, allocations: 15.62 kB / 0.5778 GB, free: 26.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001637/0.2947, allocations: 234.1 kB / 0.578 GB, free: 26.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2947, allocations: 4.406 kB / 0.578 GB, free: 26.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.295, allocations: 57.92 kB / 0.5781 GB, free: 26.16 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 (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.001307/0.2963, allocations: 1.148 MB / 0.5792 GB, free: 25.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004811/0.2968, allocations: 304.1 kB / 0.5795 GB, free: 25.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2968, allocations: 0 / 0.5795 GB, free: 25.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.297, allocations: 129 kB / 0.5796 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.2972, allocations: 44.75 kB / 0.5797 GB, free: 25.27 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.002312/0.2996, allocations: 2.459 MB / 0.5821 GB, free: 23.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.2997, allocations: 0.754 MB / 0.5828 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003027/0.3, allocations: 143.3 kB / 0.5829 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.3002, allocations: 97.31 kB / 0.583 GB, free: 22.92 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3002, allocations: 1.312 kB / 0.583 GB, free: 22.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2585/0.5587, allocations: 5.405 MB / 0.5883 GB, free: 20.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.922/7.48, allocations: 8.938 kB / 0.5883 GB, free: 20.26 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv --start-time 0 --stop-time 432000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)