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.001178/0.001178, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.001137/0.001137, allocations: 203.1 kB / 16.15 MB, free: 6.598 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.181/1.181, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.341/2.341, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 65.38 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2208, allocations: 157.4 MB / 1.052 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002426/0.2233, allocations: 1.704 MB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.2246, allocations: 1.14 MB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.132e-05/0.2246, allocations: 4 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.2248, allocations: 19.91 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.225, allocations: 51.84 kB / 1.055 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.2253, allocations: 126.9 kB / 1.055 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.2255, allocations: 213.5 kB / 1.055 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.489e-05/0.2256, allocations: 20.2 kB / 1.055 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.986e-05/0.2256, allocations: 67.83 kB / 1.055 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.2258, allocations: 87.77 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.2258, allocations: 8 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.226, allocations: 75.91 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.068e-05/0.226, allocations: 75.75 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.307e-05/0.2261, allocations: 91.39 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.2264, allocations: 275.4 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2264, allocations: 0 / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.71e-07/0.2264, allocations: 0 / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2264, allocations: 0 / 1.056 GB, free: 4.227 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.0006337/0.2271, allocations: 0.5307 MB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.2271, allocations: 15.97 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.2271, allocations: 50.67 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.198e-05/0.2272, allocations: 36.56 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.2274, allocations: 263.8 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.2275, allocations: 8.375 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.2275, allocations: 16.38 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.2278, allocations: 220.7 kB / 1.057 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.2278, allocations: 0 / 1.057 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.2278, allocations: 8 kB / 1.057 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2278, allocations: 0 / 1.057 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007395/0.2286, allocations: 0.7451 MB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006709/0.2293, allocations: 0.5627 MB / 1.058 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.2297, allocations: 299.6 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.2298, allocations: 109.3 kB / 1.059 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.2299, allocations: 24.22 kB / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/0.2302, allocations: 172.9 kB / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=34): time 1.503e-06/0.2302, allocations: 0 / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34): time 0.0005764/0.2307, allocations: 373.1 kB / 1.059 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.2308, allocations: 140.5 kB / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.231, allocations: 300 kB / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.2311, allocations: 33.7 kB / 1.06 GB, free: 116 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.526e-05/0.2312, allocations: 128.7 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.102e-05/0.2312, allocations: 110.4 kB / 1.06 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.184e-05/0.2313, allocations: 65.69 kB / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.493e-05/0.2314, allocations: 338.8 kB / 1.06 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.2316, allocations: 79.95 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.2317, allocations: 127.4 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.232, allocations: 214.2 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.232, allocations: 4 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003862/0.2324, allocations: 273.1 kB / 1.061 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.2324, allocations: 7.984 kB / 1.061 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.2324, allocations: 0 / 1.061 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.2325, allocations: 4 kB / 1.061 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.2327, allocations: 63.91 kB / 1.061 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2327, allocations: 4 kB / 1.061 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.2328, allocations: 31.7 kB / 1.061 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.2328, allocations: 8 kB / 1.061 GB, free: 14.64 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.0001324/0.233, allocations: 157.8 kB / 1.061 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.233, allocations: 27.66 kB / 1.061 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006004/0.2336, allocations: 388.4 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2336, allocations: 4 kB / 1.062 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2337, allocations: 4 kB / 1.062 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2337, allocations: 3.938 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.2339, allocations: 329.2 kB / 1.062 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2339, allocations: 0 / 1.062 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.2341, allocations: 51.92 kB / 1.062 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.2341, allocations: 7.984 kB / 1.062 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.2341, allocations: 8 kB / 1.062 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2341, allocations: 0 / 1.062 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2341, allocations: 4 kB / 1.062 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/0.2346, allocations: 327.1 kB / 1.062 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.2347, allocations: 140.7 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.2347, allocations: 8 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.2349, allocations: 11.98 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.2349, allocations: 27.91 kB / 1.063 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.2349, allocations: 15.98 kB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001655/0.2351, allocations: 233.6 kB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2351, allocations: 0 / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002559/0.2354, allocations: 60 kB / 1.063 GB, free: 12.78 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.001324/0.2367, allocations: 1.157 MB / 1.064 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003379/0.2371, allocations: 231.6 kB / 1.064 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2371, allocations: 4 kB / 1.064 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.2372, allocations: 127.8 kB / 1.064 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.2375, allocations: 36.59 kB / 1.064 GB, free: 11.35 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.002439/0.2399, allocations: 2.516 MB / 1.067 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.2402, allocations: 0.7535 MB / 1.068 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000282/0.2405, allocations: 146.8 kB / 1.068 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.2406, allocations: 95.39 kB / 1.068 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.2406, allocations: 0 / 1.068 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.479/2.72, allocations: 5.225 MB / 1.073 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002407/2.72, allocations: 281.8 kB / 1.073 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/4.582, allocations: 3.25 kB / 1.073 GB, free: 2.297 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)