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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004962/0.004962, allocations: 99.77 kB / 15.73 MB, free: 6.02 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.001431/0.001431, allocations: 193.8 kB / 16.67 MB, free: 5.934 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.487/2.487, allocations: 482.6 MB / 0.7551 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 67.89 kB / 1.083 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5831/0.5849, allocations: 162.3 MB / 1.242 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002661/0.5876, allocations: 1.647 MB / 1.243 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.589, allocations: 1.167 MB / 1.245 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.661e-05/0.5891, allocations: 4 kB / 1.245 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.5893, allocations: 19.86 kB / 1.245 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.5895, allocations: 70.38 kB / 1.245 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.5898, allocations: 138.7 kB / 1.245 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.5901, allocations: 233.5 kB / 1.245 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.709e-05/0.5902, allocations: 24.22 kB / 1.245 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.736e-05/0.5903, allocations: 79.81 kB / 1.245 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.5905, allocations: 91.77 kB / 1.245 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.5905, allocations: 16 kB / 1.245 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.5907, allocations: 71.98 kB / 1.245 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.295e-05/0.5908, allocations: 83.8 kB / 1.245 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.5909, allocations: 107.3 kB / 1.246 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.5912, allocations: 282.5 kB / 1.246 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5912, allocations: 4 kB / 1.246 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5912, allocations: 4 kB / 1.246 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.5912, allocations: 0 / 1.246 GB, free: 13.09 MB / 0.9669 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.0006825/0.5919, allocations: 0.5341 MB / 1.246 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.592, allocations: 8.031 kB / 1.246 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.553e-05/0.592, allocations: 54.67 kB / 1.246 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.802e-05/0.5921, allocations: 24.8 kB / 1.246 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.5923, allocations: 271.8 kB / 1.247 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.5924, allocations: 12.38 kB / 1.247 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.5924, allocations: 16.36 kB / 1.247 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.5927, allocations: 226.5 kB / 1.247 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.5928, allocations: 4 kB / 1.247 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.5928, allocations: 4 kB / 1.247 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.5928, allocations: 4 kB / 1.247 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008528/0.5936, allocations: 0.7373 MB / 1.248 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007294/0.5944, allocations: 0.5631 MB / 1.248 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004608/0.5949, allocations: 312.1 kB / 1.248 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.595, allocations: 101.4 kB / 1.249 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/0.5951, allocations: 20.25 kB / 1.249 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002817/0.5953, allocations: 168.9 kB / 1.249 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=34): time 1.503e-06/0.5954, allocations: 4 kB / 1.249 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34): time 0.0006179/0.596, allocations: 374.6 kB / 1.249 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.704e-05/0.5961, allocations: 132.5 kB / 1.249 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.5963, allocations: 303.9 kB / 1.25 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.5964, allocations: 33.7 kB / 1.25 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.5965, allocations: 128.7 kB / 1.25 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.975e-05/0.5966, allocations: 115 kB / 1.25 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.859e-05/0.5967, allocations: 65.69 kB / 1.25 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.5968, allocations: 338.8 kB / 1.25 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.5969, allocations: 79.95 kB / 1.25 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.5971, allocations: 131.8 kB / 1.25 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.5974, allocations: 214.9 kB / 1.251 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5975, allocations: 0 / 1.251 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004236/0.5979, allocations: 277.3 kB / 1.251 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.5979, allocations: 10.03 kB / 1.251 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.5979, allocations: 0 / 1.251 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.437e-06/0.5979, allocations: 4 kB / 1.251 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.5981, allocations: 63.91 kB / 1.251 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.5981, allocations: 4 kB / 1.251 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.5983, allocations: 31.75 kB / 1.251 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.5983, allocations: 15.94 kB / 1.251 GB, free: 7.496 MB / 0.9669 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.0001448/0.5985, allocations: 157.8 kB / 1.251 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.5985, allocations: 31.8 kB / 1.251 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006405/0.5992, allocations: 384.8 kB / 1.252 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5992, allocations: 7.938 kB / 1.252 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.5992, allocations: 0 / 1.252 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.5992, allocations: 7.938 kB / 1.252 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.5995, allocations: 325.3 kB / 1.252 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.5995, allocations: 0 / 1.252 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.5997, allocations: 55.97 kB / 1.252 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.5997, allocations: 0 / 1.252 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.5997, allocations: 8 kB / 1.252 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.5997, allocations: 7.938 kB / 1.252 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5997, allocations: 0 / 1.252 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004455/0.6002, allocations: 325.8 kB / 1.252 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.6003, allocations: 144.8 kB / 1.252 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.6003, allocations: 4 kB / 1.252 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.6005, allocations: 15.98 kB / 1.252 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.6005, allocations: 27.91 kB / 1.252 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.6005, allocations: 11.98 kB / 1.252 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001965/0.6007, allocations: 233.6 kB / 1.253 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6008, allocations: 0 / 1.253 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002531/0.601, allocations: 63.92 kB / 1.253 GB, free: 5.625 MB / 0.9669 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.001866/0.6029, allocations: 1.156 MB / 1.254 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003679/0.6033, allocations: 231.6 kB / 1.254 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6033, allocations: 0 / 1.254 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.6035, allocations: 123.9 kB / 1.254 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.6037, allocations: 42.47 kB / 1.254 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.6063, allocations: 2.462 MB / 1.257 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.6067, allocations: 0.7535 MB / 1.257 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002865/0.6069, allocations: 146.8 kB / 1.257 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.6071, allocations: 95.39 kB / 1.258 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.6071, allocations: 0 / 1.258 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.164/2.771, allocations: 5.484 MB / 1.263 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.75/29.52, allocations: 6.859 kB / 1.263 GB, free: 11.27 MB / 0.9825 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=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)