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.001055/0.001055, allocations: 107 kB / 16.27 MB, free: 5.922 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.001175/0.001174, allocations: 188.4 kB / 17.19 MB, free: 5.566 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.235/1.235, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.68/0.68, allocations: 122.8 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 67.91 kB / 0.4912 GB, free: 7.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2822, allocations: 77.92 MB / 0.5673 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002292/0.2845, allocations: 1.625 MB / 0.5689 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.2857, allocations: 1.164 MB / 0.57 GB, free: 30.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.514e-05/0.2857, allocations: 5.75 kB / 0.57 GB, free: 30.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.2859, allocations: 22.08 kB / 0.57 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.2861, allocations: 71.03 kB / 0.5701 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.2864, allocations: 128.6 kB / 0.5702 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.2866, allocations: 233.3 kB / 0.5705 GB, free: 30.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.456e-05/0.2867, allocations: 20.08 kB / 0.5705 GB, free: 30.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.129e-05/0.2868, allocations: 76.28 kB / 0.5705 GB, free: 30.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.2869, allocations: 99.72 kB / 0.5706 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.287, allocations: 16.91 kB / 0.5707 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.2871, allocations: 80.33 kB / 0.5707 GB, free: 30.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.902e-05/0.2872, allocations: 80.16 kB / 0.5708 GB, free: 30.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.713e-05/0.2873, allocations: 105.2 kB / 0.5709 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.2876, allocations: 278.1 kB / 0.5712 GB, free: 30.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2876, allocations: 0 / 0.5712 GB, free: 30.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2876, allocations: 0 / 0.5712 GB, free: 30.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.2876, allocations: 1.812 kB / 0.5712 GB, free: 30.13 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.0005727/0.2882, allocations: 0.538 MB / 0.5717 GB, free: 29.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.2882, allocations: 9.906 kB / 0.5717 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.998e-05/0.2882, allocations: 53.88 kB / 0.5718 GB, free: 29.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.2883, allocations: 26.08 kB / 0.5718 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.2885, allocations: 262.7 kB / 0.572 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.2885, allocations: 17.12 kB / 0.5721 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.2886, allocations: 14.94 kB / 0.5721 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.2889, allocations: 216.2 kB / 0.5723 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2889, allocations: 0 / 0.5723 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.2889, allocations: 14.61 kB / 0.5723 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2889, allocations: 3.062 kB / 0.5723 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007944/0.2897, allocations: 0.7381 MB / 0.573 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006482/0.2904, allocations: 0.5667 MB / 0.5736 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004302/0.2908, allocations: 296.1 kB / 0.5738 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.291, allocations: 105.3 kB / 0.5739 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-05/0.291, allocations: 25.27 kB / 0.574 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.2913, allocations: 177.8 kB / 0.5741 GB, free: 28.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.392e-06/0.2913, allocations: 0 / 0.5741 GB, free: 28.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.0005621/0.2918, allocations: 367.6 kB / 0.5745 GB, free: 28.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.2919, allocations: 133.8 kB / 0.5746 GB, free: 28.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.2921, allocations: 304 kB / 0.5749 GB, free: 28.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.2921, allocations: 31.34 kB / 0.5749 GB, free: 27.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.799e-05/0.2922, allocations: 127.6 kB / 0.5751 GB, free: 27.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.207e-05/0.2923, allocations: 120.6 kB / 0.5752 GB, free: 27.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.62e-05/0.2923, allocations: 60.28 kB / 0.5752 GB, free: 27.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.848e-05/0.2924, allocations: 339.9 kB / 0.5756 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.2925, allocations: 80.06 kB / 0.5756 GB, free: 27.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.2927, allocations: 126.7 kB / 0.5758 GB, free: 27.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.293, allocations: 214.1 kB / 0.576 GB, free: 27.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.293, allocations: 0.7188 kB / 0.576 GB, free: 27.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003762/0.2934, allocations: 286 kB / 0.5762 GB, free: 27.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.2934, allocations: 5.594 kB / 0.5762 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2934, allocations: 1.938 kB / 0.5762 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.2934, allocations: 1.562 kB / 0.5762 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.2936, allocations: 59.53 kB / 0.5763 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.2936, allocations: 2.094 kB / 0.5763 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.2938, allocations: 35.88 kB / 0.5763 GB, free: 27.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.2938, allocations: 11.66 kB / 0.5763 GB, free: 27.1 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.0001075/0.2939, allocations: 166.8 kB / 0.5765 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.2939, allocations: 24.97 kB / 0.5765 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000567/0.2945, allocations: 376.5 kB / 0.5769 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.2945, allocations: 4.125 kB / 0.5769 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2945, allocations: 0.7969 kB / 0.5769 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2946, allocations: 5.203 kB / 0.5769 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.2948, allocations: 326.9 kB / 0.5772 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2948, allocations: 3.344 kB / 0.5772 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.295, allocations: 60.91 kB / 0.5773 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.295, allocations: 1.375 kB / 0.5773 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.295, allocations: 10.38 kB / 0.5773 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.295, allocations: 1.375 kB / 0.5773 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.295, allocations: 0.7031 kB / 0.5773 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/0.2954, allocations: 339.9 kB / 0.5776 GB, free: 26.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.113e-05/0.2955, allocations: 142 kB / 0.5777 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.2955, allocations: 6.625 kB / 0.5777 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.2957, allocations: 22.28 kB / 0.5778 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.2957, allocations: 27.52 kB / 0.5778 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.2958, allocations: 14.22 kB / 0.5778 GB, free: 26.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.2959, allocations: 230.3 kB / 0.578 GB, free: 26.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2959, allocations: 1.125 kB / 0.578 GB, free: 26.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.2962, allocations: 59.81 kB / 0.5781 GB, free: 26.09 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.001196/0.2974, allocations: 1.147 MB / 0.5792 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004233/0.2978, allocations: 309.2 kB / 0.5795 GB, free: 25.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2978, allocations: 2 kB / 0.5795 GB, free: 25.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.298, allocations: 128.3 kB / 0.5796 GB, free: 25.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.2982, allocations: 35 kB / 0.5797 GB, free: 25.21 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.00218/0.3004, allocations: 2.456 MB / 0.5821 GB, free: 23.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.3006, allocations: 0.7552 MB / 0.5828 GB, free: 22.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002804/0.3009, allocations: 149.8 kB / 0.5829 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.301, allocations: 96.8 kB / 0.583 GB, free: 22.82 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.301, allocations: 0 / 0.583 GB, free: 22.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.291/0.592, allocations: 5.414 MB / 0.5883 GB, free: 20.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.944/7.536, allocations: 8.844 kB / 0.5883 GB, free: 20.15 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)