Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_11_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.00161/0.00161, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.603/2.603, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 67.88 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2472, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002837/0.25, allocations: 1.639 MB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.2516, allocations: 1.171 MB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.354e-05/0.2516, allocations: 4 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.2518, allocations: 19.84 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.252, allocations: 63.64 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.2524, allocations: 134.8 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.2526, allocations: 233.6 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.058e-05/0.2527, allocations: 28.14 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.51e-05/0.2528, allocations: 75.83 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.253, allocations: 91.77 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.548e-05/0.2531, allocations: 16 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.2532, allocations: 75.97 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.261e-05/0.2533, allocations: 83.75 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.2534, allocations: 107.3 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.2537, allocations: 283.4 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2538, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2538, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2538, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 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.0007284/0.2545, allocations: 0.5268 MB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.2545, allocations: 12.03 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.367e-05/0.2546, allocations: 50.73 kB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.689e-05/0.2547, allocations: 28.56 kB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.255, allocations: 267.7 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.255, allocations: 8.375 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.255, allocations: 20.38 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.2553, allocations: 216.6 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.2554, allocations: 3.984 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.2554, allocations: 4 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.2554, allocations: 4 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000871/0.2563, allocations: 0.7412 MB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007619/0.2571, allocations: 0.5744 MB / 1.07 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.2575, allocations: 300.9 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.2577, allocations: 113.4 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-05/0.2578, allocations: 28.17 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002917/0.2581, allocations: 180.8 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 1.503e-06/0.2581, allocations: 0 / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.0006375/0.2587, allocations: 358.1 kB / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/0.2588, allocations: 132.5 kB / 1.071 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.2591, allocations: 307.9 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.2591, allocations: 33.7 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.114e-05/0.2592, allocations: 124.8 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.323e-05/0.2593, allocations: 110.4 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.952e-05/0.2594, allocations: 65.69 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2596, allocations: 342.8 kB / 1.072 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.2597, allocations: 79.95 kB / 1.072 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.2599, allocations: 124.2 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.2602, allocations: 221 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.2602, allocations: 0 / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004318/0.2607, allocations: 273.2 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.2607, allocations: 4 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2607, allocations: 0 / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2607, allocations: 4 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.2609, allocations: 59.91 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.2609, allocations: 3.984 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.2611, allocations: 27.72 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.2611, allocations: 15.98 kB / 1.073 GB, free: 4.574 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.0001507/0.2613, allocations: 169.7 kB / 1.073 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.2613, allocations: 23.72 kB / 1.073 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006674/0.262, allocations: 384.6 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.262, allocations: 4 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.262, allocations: 0 / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.262, allocations: 11.92 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.2623, allocations: 325.3 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2624, allocations: 0 / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.2625, allocations: 59.91 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.2625, allocations: 4 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.2626, allocations: 11.98 kB / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.2626, allocations: 4 kB / 1.074 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2626, allocations: 0 / 1.074 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004714/0.2631, allocations: 325.7 kB / 1.074 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.2632, allocations: 136.7 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.2632, allocations: 8 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.2634, allocations: 13.53 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.2634, allocations: 27.91 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.2635, allocations: 19.94 kB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002009/0.2637, allocations: 225.8 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2637, allocations: 0 / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002657/0.264, allocations: 56 kB / 1.075 GB, free: 2.707 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.001939/0.2659, allocations: 1.165 MB / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000494/0.2664, allocations: 307.7 kB / 1.076 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2664, allocations: 0 / 1.076 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.2666, allocations: 123.9 kB / 1.076 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.2669, allocations: 43.23 kB / 1.076 GB, free: 1.199 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.002735/0.2696, allocations: 2.443 MB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.27, allocations: 0.7574 MB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003003/0.2703, allocations: 142.9 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.2704, allocations: 91.39 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.2704, allocations: 4 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.907/5.178, allocations: 5.411 MB / 1.085 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.532/14.71, allocations: 8.5 kB / 1.085 GB, free: 8.375 MB / 0.8419 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)