Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IBPSA_latest_IBPSA_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.001356/0.001356, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.0014/0.0014, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.468/1.468, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7689/0.7689, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 61.03 kB / 0.5572 GB, free: 32.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1985, allocations: 76.18 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.005031/0.2036, allocations: 1.625 MB / 0.6332 GB, free: 3.281 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.2059, allocations: 1.171 MB / 0.6343 GB, free: 2.102 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.206, allocations: 0 / 0.6343 GB, free: 2.102 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.2064, allocations: 27.84 kB / 0.6344 GB, free: 2.074 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004062/0.2068, allocations: 77.5 kB / 0.6344 GB, free: 2 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005489/0.2073, allocations: 126.6 kB / 0.6345 GB, free: 1.879 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004206/0.2078, allocations: 237.5 kB / 0.6348 GB, free: 1.645 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.208, allocations: 31.02 kB / 0.6348 GB, free: 1.613 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.2082, allocations: 71.89 kB / 0.6349 GB, free: 1.543 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003727/0.2085, allocations: 95.7 kB / 0.635 GB, free: 1.449 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.418e-05/0.2086, allocations: 16 kB / 0.635 GB, free: 1.434 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002886/0.2089, allocations: 79.95 kB / 0.6351 GB, free: 1.355 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.2091, allocations: 79.75 kB / 0.6351 GB, free: 1.277 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.2092, allocations: 103.4 kB / 0.6352 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005002/0.2097, allocations: 279 kB / 0.6355 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2098, allocations: 3.984 kB / 0.6355 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2098, allocations: 0 / 0.6355 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.2098, allocations: 4 kB / 0.6355 GB, free: 0.8945 MB / 478.1 MB 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.0009747/0.2108, allocations: 0.5275 MB / 0.636 GB, free: 328 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.2108, allocations: 12.03 kB / 0.636 GB, free: 316 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.178e-05/0.2109, allocations: 50.73 kB / 0.6361 GB, free: 256 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.931e-05/0.211, allocations: 28.66 kB / 0.6361 GB, free: 228 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.2114, allocations: 263.7 kB / 0.6364 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.2115, allocations: 12.38 kB / 0.6364 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.2115, allocations: 16.38 kB / 0.6364 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/0.2119, allocations: 220.6 kB / 0.6366 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.212, allocations: 0 / 0.6366 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.212, allocations: 15.94 kB / 0.6366 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.212, allocations: 4 kB / 0.6366 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000929/0.2129, allocations: 0.7334 MB / 0.6373 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009916/0.2139, allocations: 0.5706 MB / 0.6379 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005193/0.2145, allocations: 304.1 kB / 0.6382 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.2147, allocations: 105.4 kB / 0.6383 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.766e-05/0.2147, allocations: 20.25 kB / 0.6383 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003496/0.2151, allocations: 180.8 kB / 0.6385 GB, free: 13.67 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.204e-06/0.2151, allocations: 0 / 0.6385 GB, free: 13.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007032/0.2158, allocations: 373.9 kB / 0.6388 GB, free: 13.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.2159, allocations: 132.5 kB / 0.639 GB, free: 13.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.2162, allocations: 304 kB / 0.6392 GB, free: 12.83 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.2163, allocations: 33.7 kB / 0.6393 GB, free: 12.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.326e-05/0.2164, allocations: 120.8 kB / 0.6394 GB, free: 12.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.2165, allocations: 114.3 kB / 0.6395 GB, free: 12.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.2166, allocations: 69.67 kB / 0.6396 GB, free: 12.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.2168, allocations: 338.8 kB / 0.6399 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.217, allocations: 83.95 kB / 0.64 GB, free: 12.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.2172, allocations: 124.5 kB / 0.6401 GB, free: 11.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.2175, allocations: 217 kB / 0.6403 GB, free: 11.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2175, allocations: 0 / 0.6403 GB, free: 11.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004876/0.218, allocations: 273.2 kB / 0.6406 GB, free: 11.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.2181, allocations: 4 kB / 0.6406 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2181, allocations: 0 / 0.6406 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.2181, allocations: 4 kB / 0.6406 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.2183, allocations: 63.91 kB / 0.6406 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2184, allocations: 0 / 0.6406 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.2185, allocations: 31.67 kB / 0.6407 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.2186, allocations: 12 kB / 0.6407 GB, free: 11.32 MB / 494.1 MB 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.0001822/0.2187, allocations: 165.7 kB / 0.6408 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.2188, allocations: 23.72 kB / 0.6408 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006918/0.2195, allocations: 380.4 kB / 0.6412 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.2195, allocations: 4 kB / 0.6412 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2195, allocations: 0 / 0.6412 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.2195, allocations: 3.938 kB / 0.6412 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.2199, allocations: 333.3 kB / 0.6415 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2199, allocations: 3.938 kB / 0.6415 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.2201, allocations: 59.91 kB / 0.6416 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.437e-06/0.2201, allocations: 4 kB / 0.6416 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.2202, allocations: 8 kB / 0.6416 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2202, allocations: 0 / 0.6416 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.2202, allocations: 3.984 kB / 0.6416 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005404/0.2207, allocations: 318.3 kB / 0.6419 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.2209, allocations: 140.7 kB / 0.642 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.221, allocations: 8 kB / 0.6421 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.2211, allocations: 20.02 kB / 0.6421 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.2212, allocations: 23.91 kB / 0.6421 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.2213, allocations: 19.98 kB / 0.6421 GB, free: 9.727 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002586/0.2215, allocations: 225.6 kB / 0.6423 GB, free: 9.508 MB / 494.1 MB Notification: Performance of sort global known variables: time 3e-07/0.2215, allocations: 0 / 0.6423 GB, free: 9.508 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003627/0.2219, allocations: 63.89 kB / 0.6424 GB, free: 9.445 MB / 494.1 MB 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.001808/0.2237, allocations: 1.159 MB / 0.6435 GB, free: 8.406 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004323/0.2242, allocations: 231.9 kB / 0.6437 GB, free: 8.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2242, allocations: 0 / 0.6437 GB, free: 8.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.2244, allocations: 127.8 kB / 0.6439 GB, free: 8.055 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.2247, allocations: 43.17 kB / 0.6439 GB, free: 8.016 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.2279, allocations: 2.454 MB / 0.6463 GB, free: 5.484 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.2283, allocations: 0.7574 MB / 0.647 GB, free: 4.699 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003299/0.2286, allocations: 146.9 kB / 0.6472 GB, free: 4.555 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.2288, allocations: 99.39 kB / 0.6473 GB, free: 4.457 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2288, allocations: 0 / 0.6473 GB, free: 4.457 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.2577, allocations: 5.552 MB / 0.6527 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.068/8.326, allocations: 13.47 kB / 0.6527 GB, free: 15.02 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)