Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_latest_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.0008522/0.0008523, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004696/0.004696, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.193/1.193, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.346/2.346, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002904, allocations: 14.03 kB / 0.9029 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2409, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.001674/0.2426, allocations: 1.361 MB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.244, allocations: 1.125 MB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.244, allocations: 3.938 kB / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.2442, allocations: 19.92 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.2444, allocations: 51.83 kB / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.2447, allocations: 127.3 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.2449, allocations: 217.5 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.112e-05/0.245, allocations: 16.23 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.039e-05/0.2451, allocations: 67.81 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.2452, allocations: 83.77 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.2453, allocations: 12 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.2454, allocations: 71.91 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.4e-05/0.2455, allocations: 71.75 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.239e-05/0.2456, allocations: 117.1 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.2458, allocations: 267.4 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.2458, allocations: 0 / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2458, allocations: 4 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.2458, allocations: 0 / 1.062 GB, free: 1.258 MB / 0.8106 GB 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.0005903/0.2464, allocations: 495.6 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.2465, allocations: 11.97 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.32e-05/0.2465, allocations: 54.73 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.211e-05/0.2466, allocations: 28.56 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.2468, allocations: 259.8 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.2469, allocations: 16.31 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.2469, allocations: 16.38 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.2472, allocations: 212.7 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.2472, allocations: 8 kB / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.2472, allocations: 8 kB / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2473, allocations: 4 kB / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007738/0.248, allocations: 0.7334 MB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006781/0.2487, allocations: 0.5744 MB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.2492, allocations: 303.6 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.2493, allocations: 105.3 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.179e-05/0.2494, allocations: 28.23 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.2496, allocations: 168.9 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 1.373e-06/0.2496, allocations: 0 / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.0005538/0.2502, allocations: 369.1 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.2503, allocations: 140.5 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.2505, allocations: 303.9 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.2506, allocations: 33.7 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/0.2506, allocations: 128.8 kB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/0.2507, allocations: 106.3 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.2508, allocations: 37.7 kB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.65e-05/0.2509, allocations: 330.8 kB / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.251, allocations: 83.89 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.2512, allocations: 131.4 kB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.2514, allocations: 214.2 kB / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2515, allocations: 0 / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003706/0.2518, allocations: 277.1 kB / 1.067 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.2518, allocations: 4 kB / 1.067 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.2519, allocations: 0 / 1.067 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.2519, allocations: 4 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.2521, allocations: 55.97 kB / 1.067 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2521, allocations: 7.938 kB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.2522, allocations: 39.7 kB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.2523, allocations: 11.98 kB / 1.067 GB, free: 11.75 MB / 0.8262 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.0001253/0.2524, allocations: 153.8 kB / 1.068 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.2524, allocations: 31.62 kB / 1.068 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005994/0.253, allocations: 384.4 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.253, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2531, allocations: 4 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.2531, allocations: 7.922 kB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.2533, allocations: 321.3 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2533, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.2535, allocations: 59.91 kB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.2535, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.2535, allocations: 11.98 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.2535, allocations: 8 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2535, allocations: 4 kB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.2539, allocations: 315.2 kB / 1.069 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.2541, allocations: 148.7 kB / 1.069 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.2541, allocations: 7.938 kB / 1.069 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.2542, allocations: 15.98 kB / 1.069 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.2543, allocations: 27.91 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.2543, allocations: 19.98 kB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001717/0.2545, allocations: 229.6 kB / 1.069 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2545, allocations: 0 / 1.069 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002545/0.2548, allocations: 67.89 kB / 1.069 GB, free: 9.875 MB / 0.8262 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.001298/0.2561, allocations: 1.147 MB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003252/0.2564, allocations: 231.8 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2564, allocations: 0 / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.2566, allocations: 127.8 kB / 1.071 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.2568, allocations: 36.59 kB / 1.071 GB, free: 8.457 MB / 0.8262 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.002472/0.2593, allocations: 2.513 MB / 1.073 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.2596, allocations: 0.7613 MB / 1.074 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002804/0.2599, allocations: 146.9 kB / 1.074 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.26, allocations: 91.89 kB / 1.074 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.26, allocations: 0 / 1.074 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5055/0.7655, allocations: 5.007 MB / 1.079 GB, free: 40 kB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/0.7657, allocations: 283 kB / 1.079 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.709, allocations: 0 / 1.079 GB, free: 15.67 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)