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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001251/0.001251, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001244/0.001244, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.22/1.22, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.49/2.49, allocations: 461.9 MB / 0.7344 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 64.5 kB / 0.8987 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2456, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002651/0.2482, allocations: 1.704 MB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.2497, allocations: 1.14 MB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.979e-05/0.2498, allocations: 0 / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.25, allocations: 19.91 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.2503, allocations: 55.78 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.2506, allocations: 127.4 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000232/0.2508, allocations: 229.6 kB / 1.056 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.079e-05/0.2509, allocations: 24.2 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.528e-05/0.251, allocations: 79.77 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.2512, allocations: 95.77 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.2513, allocations: 16 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.2514, allocations: 75.97 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.874e-05/0.2515, allocations: 83.75 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.874e-05/0.2516, allocations: 99.39 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.2519, allocations: 279.4 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2519, allocations: 4 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.415e-06/0.2519, allocations: 0 / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.2519, allocations: 3.938 kB / 1.056 GB, free: 4.625 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.0006874/0.2526, allocations: 0.5322 MB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.2527, allocations: 12.62 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.043e-05/0.2527, allocations: 54.73 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.054e-05/0.2528, allocations: 28.56 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.253, allocations: 255.8 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.2531, allocations: 20.36 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.2531, allocations: 20.31 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.2534, allocations: 220.6 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2534, allocations: 0 / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.2535, allocations: 8 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.2535, allocations: 4 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007706/0.2542, allocations: 0.7334 MB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006906/0.2549, allocations: 0.5705 MB / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/0.2554, allocations: 303.6 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.2555, allocations: 105.4 kB / 1.059 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.152e-05/0.2556, allocations: 20.25 kB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002863/0.2558, allocations: 180.8 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=34): time 2.826e-06/0.2559, allocations: 3.984 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34): time 0.0005805/0.2564, allocations: 365.2 kB / 1.06 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.2565, allocations: 136.5 kB / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.2568, allocations: 300 kB / 1.06 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.2568, allocations: 33.7 kB / 1.06 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.2569, allocations: 132.6 kB / 1.06 GB, free: 392 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.345e-05/0.2569, allocations: 110.4 kB / 1.06 GB, free: 280 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.154e-05/0.257, allocations: 65.69 kB / 1.06 GB, free: 208 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2571, allocations: 334.8 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.2573, allocations: 83.95 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.2574, allocations: 127.8 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.2577, allocations: 216.5 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2577, allocations: 0 / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003921/0.2581, allocations: 277.6 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.2582, allocations: 5.562 kB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.2582, allocations: 0 / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2582, allocations: 7.984 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.2584, allocations: 59.91 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2584, allocations: 4 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.2585, allocations: 35.7 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.2586, allocations: 8 kB / 1.062 GB, free: 15.04 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.0001357/0.2587, allocations: 163.3 kB / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.2588, allocations: 23.72 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005811/0.2594, allocations: 381.5 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.2594, allocations: 4 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.2594, allocations: 7.984 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.2594, allocations: 3.938 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.2597, allocations: 325.3 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2597, allocations: 0 / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.2598, allocations: 59.91 kB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.2598, allocations: 3.938 kB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.2599, allocations: 15.98 kB / 1.062 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2599, allocations: 0 / 1.062 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2599, allocations: 4 kB / 1.062 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004204/0.2603, allocations: 329.9 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.2604, allocations: 136.7 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.2605, allocations: 4 kB / 1.063 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.2606, allocations: 19.98 kB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.2607, allocations: 23.91 kB / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.2607, allocations: 12 kB / 1.063 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001693/0.2609, allocations: 233.8 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2609, allocations: 3.938 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002619/0.2611, allocations: 56 kB / 1.063 GB, free: 13.17 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.001368/0.2625, allocations: 1.152 MB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004607/0.263, allocations: 319.7 kB / 1.065 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.263, allocations: 0 / 1.065 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.2632, allocations: 127.8 kB / 1.065 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.2634, allocations: 32.59 kB / 1.065 GB, free: 11.67 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.002507/0.2659, allocations: 2.521 MB / 1.067 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.2662, allocations: 0.754 MB / 1.068 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002748/0.2665, allocations: 142.9 kB / 1.068 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.2666, allocations: 95.39 kB / 1.068 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2666, allocations: 0 / 1.068 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.014/1.281, allocations: 5.343 MB / 1.073 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/1.281, allocations: 285.5 kB / 1.074 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.983, allocations: 0 / 1.074 GB, free: 2.496 MB / 0.8262 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)