Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_10_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.0008427/0.0008428, allocations: 97.8 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.005005/0.005005, allocations: 171.2 kB / 16.27 MB, free: 6.66 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.173/1.173, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.244/2.244, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.000291, allocations: 16 kB / 0.873 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5106/0.5109, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.001675/0.5127, allocations: 1.344 MB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.5141, allocations: 1.121 MB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.454e-05/0.5142, allocations: 4 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.5144, allocations: 23.91 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.5146, allocations: 55.77 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.5149, allocations: 127.3 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.5152, allocations: 213.6 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.988e-05/0.5153, allocations: 20.2 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.338e-05/0.5153, allocations: 71.77 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.5155, allocations: 83.77 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.5156, allocations: 8 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.5157, allocations: 71.97 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.673e-05/0.5158, allocations: 79.73 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.907e-05/0.5159, allocations: 121 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.5161, allocations: 261.4 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5162, allocations: 0 / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5162, allocations: 0 / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.5162, allocations: 0 / 1.027 GB, free: 12.24 MB / 0.7794 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.0006152/0.5168, allocations: 495.5 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.5168, allocations: 8.031 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.893e-05/0.5169, allocations: 58.73 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.517, allocations: 32.56 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.5172, allocations: 267.7 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.5172, allocations: 8.375 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.5173, allocations: 16.38 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.5176, allocations: 216.6 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.5176, allocations: 3.984 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.5176, allocations: 16 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.5176, allocations: 4 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007539/0.5184, allocations: 0.7334 MB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007134/0.5191, allocations: 0.5744 MB / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.5195, allocations: 295.6 kB / 1.029 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.5197, allocations: 105.4 kB / 1.029 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.5197, allocations: 20.25 kB / 1.029 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002743/0.52, allocations: 176.9 kB / 1.03 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.52, allocations: 3.938 kB / 1.03 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.00057/0.5206, allocations: 365.2 kB / 1.03 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.5206, allocations: 132.5 kB / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.5209, allocations: 308 kB / 1.03 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.5209, allocations: 29.7 kB / 1.03 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.521, allocations: 124.7 kB / 1.03 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.39e-05/0.5211, allocations: 122.3 kB / 1.031 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.5211, allocations: 25.72 kB / 1.031 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.845e-05/0.5212, allocations: 334.8 kB / 1.031 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.5214, allocations: 79.95 kB / 1.031 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.5216, allocations: 136.2 kB / 1.031 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.5218, allocations: 217 kB / 1.031 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5218, allocations: 0 / 1.031 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003737/0.5222, allocations: 277.2 kB / 1.032 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.5222, allocations: 7.938 kB / 1.032 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.5223, allocations: 0 / 1.032 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.5223, allocations: 0 / 1.032 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.5225, allocations: 63.91 kB / 1.032 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.5225, allocations: 4 kB / 1.032 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.5226, allocations: 31.77 kB / 1.032 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.5227, allocations: 12 kB / 1.032 GB, free: 6.73 MB / 0.7794 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.0001378/0.5228, allocations: 161.7 kB / 1.032 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.5228, allocations: 23.72 kB / 1.032 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000595/0.5234, allocations: 389.4 kB / 1.032 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5235, allocations: 8 kB / 1.032 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.5235, allocations: 0 / 1.032 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.5235, allocations: 3.938 kB / 1.032 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.5238, allocations: 329.3 kB / 1.033 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5238, allocations: 0 / 1.033 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.5239, allocations: 59.97 kB / 1.033 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.5239, allocations: 7.938 kB / 1.033 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.524, allocations: 8 kB / 1.033 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.524, allocations: 3.984 kB / 1.033 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.524, allocations: 0 / 1.033 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.5244, allocations: 321.7 kB / 1.033 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.5245, allocations: 144.6 kB / 1.033 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.5245, allocations: 15.98 kB / 1.033 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.5247, allocations: 12 kB / 1.033 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.5247, allocations: 27.89 kB / 1.033 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.5248, allocations: 12 kB / 1.033 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001729/0.5249, allocations: 229.8 kB / 1.033 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5249, allocations: 4 kB / 1.033 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002584/0.5252, allocations: 60 kB / 1.033 GB, free: 4.848 MB / 0.7794 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.001382/0.5266, allocations: 1.154 MB / 1.035 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003452/0.527, allocations: 227.9 kB / 1.035 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.527, allocations: 8 kB / 1.035 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.5271, allocations: 123.9 kB / 1.035 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.5274, allocations: 42.97 kB / 1.035 GB, free: 3.422 MB / 0.7794 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.00258/0.53, allocations: 2.508 MB / 1.037 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.5303, allocations: 0.7535 MB / 1.038 GB, free: 52 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002945/0.5306, allocations: 150.9 kB / 1.038 GB, free: 15.9 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.5307, allocations: 91.39 kB / 1.038 GB, free: 15.81 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.5307, allocations: 0 / 1.038 GB, free: 15.81 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5525/1.083, allocations: 4.99 MB / 1.043 GB, free: 11.03 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003029/1.084, allocations: 282.4 kB / 1.044 GB, free: 10.66 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.833, allocations: 0 / 1.044 GB, free: 10.66 MB / 0.795 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)