Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_9_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.004803/0.004803, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.001203/0.001203, allocations: 199.7 kB / 16.67 MB, free: 5.977 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.216/1.216, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.19/2.19, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 59.09 kB / 0.9504 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2137, allocations: 140.4 MB / 1.087 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002803/0.2165, allocations: 1.635 MB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.2181, allocations: 1.16 MB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.412e-05/0.2182, allocations: 4 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.2184, allocations: 23.84 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.2186, allocations: 67.62 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.2189, allocations: 144.9 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.2192, allocations: 233.6 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.136e-05/0.2193, allocations: 23.03 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.602e-05/0.2193, allocations: 79.81 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.2195, allocations: 91.77 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.2196, allocations: 16 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.2197, allocations: 79.91 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.998e-05/0.2198, allocations: 91.73 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.821e-05/0.2199, allocations: 99.39 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.2202, allocations: 279.1 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2202, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2202, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.2202, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 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.0006242/0.2208, allocations: 0.5351 MB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.2208, allocations: 8.031 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.967e-05/0.2209, allocations: 50.73 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.091e-05/0.221, allocations: 32.56 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.2212, allocations: 259.8 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.2212, allocations: 12.38 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.2213, allocations: 12.38 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.2216, allocations: 220.6 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2216, allocations: 0 / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.2216, allocations: 8 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.2216, allocations: 8 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007704/0.2224, allocations: 0.7448 MB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006919/0.2231, allocations: 0.5668 MB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/0.2236, allocations: 308.7 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.2237, allocations: 101.4 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.2238, allocations: 20.25 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000269/0.224, allocations: 176.9 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=34): time 1.483e-06/0.2241, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34): time 0.0005879/0.2246, allocations: 369.1 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.2247, allocations: 132.5 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.225, allocations: 300 kB / 1.095 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.225, allocations: 37.69 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.2251, allocations: 124.7 kB / 1.095 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.476e-05/0.2252, allocations: 118.3 kB / 1.095 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.219e-05/0.2253, allocations: 65.69 kB / 1.095 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.2254, allocations: 338.8 kB / 1.096 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.2255, allocations: 83.95 kB / 1.096 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.2257, allocations: 127.4 kB / 1.096 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.226, allocations: 218.3 kB / 1.096 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.226, allocations: 0 / 1.096 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004035/0.2264, allocations: 277 kB / 1.096 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.2264, allocations: 8 kB / 1.096 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2264, allocations: 0 / 1.096 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.2264, allocations: 0 / 1.096 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.2266, allocations: 63.91 kB / 1.097 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2267, allocations: 0 / 1.097 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.2268, allocations: 27.77 kB / 1.097 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.2268, allocations: 12 kB / 1.097 GB, free: 8.363 MB / 0.8575 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.0001423/0.227, allocations: 165.7 kB / 1.097 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.227, allocations: 23.72 kB / 1.097 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006785/0.2277, allocations: 384.3 kB / 1.097 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2277, allocations: 4 kB / 1.097 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2277, allocations: 0 / 1.097 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.2278, allocations: 7.938 kB / 1.097 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/0.228, allocations: 325.3 kB / 1.097 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.228, allocations: 0 / 1.097 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.2282, allocations: 59.91 kB / 1.097 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2282, allocations: 0 / 1.097 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.2282, allocations: 8 kB / 1.097 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2283, allocations: 4 kB / 1.097 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.2283, allocations: 8 kB / 1.097 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.2287, allocations: 327.1 kB / 1.098 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.2288, allocations: 144.6 kB / 1.098 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.2289, allocations: 8 kB / 1.098 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.229, allocations: 15.98 kB / 1.098 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.2291, allocations: 27.91 kB / 1.098 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.2291, allocations: 19.92 kB / 1.098 GB, free: 6.762 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001816/0.2293, allocations: 233.6 kB / 1.098 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2293, allocations: 0 / 1.098 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002648/0.2296, allocations: 63.92 kB / 1.098 GB, free: 6.473 MB / 0.8575 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.001389/0.231, allocations: 1.144 MB / 1.099 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000351/0.2313, allocations: 231.8 kB / 1.1 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2313, allocations: 0 / 1.1 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.2315, allocations: 128.4 kB / 1.1 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.2318, allocations: 39.14 kB / 1.1 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.2342, allocations: 2.458 MB / 1.102 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.2345, allocations: 0.7579 MB / 1.103 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002929/0.2348, allocations: 142.8 kB / 1.103 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.2349, allocations: 95.39 kB / 1.103 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.2349, allocations: 3.938 kB / 1.103 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2167/0.4516, allocations: 5.466 MB / 1.109 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.403/7.854, allocations: 10.16 kB / 1.109 GB, free: 12.09 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)