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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001037/0.001037, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.156/1.156, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.353/2.353, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 69.03 kB / 0.8992 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2263, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002518/0.2288, allocations: 1.635 MB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.2302, allocations: 1.172 MB / 1.056 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/0.2303, allocations: 4 kB / 1.056 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.2304, allocations: 23.86 kB / 1.056 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.2306, allocations: 71.62 kB / 1.056 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.231, allocations: 142.7 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000216/0.2312, allocations: 233.6 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.822e-05/0.2313, allocations: 20.2 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.618e-05/0.2314, allocations: 79.81 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.2315, allocations: 95.77 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.2316, allocations: 16 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.2317, allocations: 75.97 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.952e-05/0.2318, allocations: 87.69 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.632e-05/0.2319, allocations: 103.4 kB / 1.057 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.2322, allocations: 279.4 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2322, allocations: 4 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2322, allocations: 0 / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2322, allocations: 0 / 1.057 GB, free: 4.246 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.000634/0.2328, allocations: 0.5268 MB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.2329, allocations: 12.62 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.2329, allocations: 46.73 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.044e-05/0.233, allocations: 28.56 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.2332, allocations: 267.8 kB / 1.058 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.2332, allocations: 8.375 kB / 1.058 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.2333, allocations: 16.38 kB / 1.058 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.2336, allocations: 224.6 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.2336, allocations: 0 / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.2336, allocations: 4 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.2336, allocations: 4 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007463/0.2344, allocations: 0.7373 MB / 1.059 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006686/0.235, allocations: 0.5666 MB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/0.2355, allocations: 303.6 kB / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.2356, allocations: 109.4 kB / 1.06 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.2357, allocations: 16.25 kB / 1.06 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.2359, allocations: 180.8 kB / 1.06 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=34): time 1.382e-06/0.2359, allocations: 0 / 1.06 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34): time 0.0005726/0.2365, allocations: 361.2 kB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.2366, allocations: 136.5 kB / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.2368, allocations: 300 kB / 1.061 GB, free: 204 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.2369, allocations: 33.7 kB / 1.061 GB, free: 164 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.581e-05/0.2369, allocations: 132.7 kB / 1.061 GB, free: 28 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.461e-05/0.237, allocations: 106.6 kB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.029e-05/0.2371, allocations: 69.53 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.2372, allocations: 342.8 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.2374, allocations: 79.95 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.2375, allocations: 131.8 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.2378, allocations: 212.6 kB / 1.062 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2379, allocations: 0 / 1.062 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003925/0.2383, allocations: 277.6 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.2383, allocations: 9.547 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2383, allocations: 0 / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2383, allocations: 4 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.2385, allocations: 63.91 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2385, allocations: 4 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.2386, allocations: 31.7 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.2387, allocations: 8 kB / 1.062 GB, free: 14.68 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.0001319/0.2388, allocations: 163.3 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.598e-05/0.2389, allocations: 23.72 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006041/0.2395, allocations: 393.5 kB / 1.063 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2395, allocations: 4 kB / 1.063 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.2395, allocations: 0 / 1.063 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2395, allocations: 3.938 kB / 1.063 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.2398, allocations: 333.2 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2398, allocations: 3.984 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.2399, allocations: 51.92 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.24, allocations: 7.984 kB / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.24, allocations: 8 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.24, allocations: 0 / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.24, allocations: 4 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/0.2404, allocations: 326 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.2405, allocations: 140.7 kB / 1.063 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.2406, allocations: 8 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.2407, allocations: 14.23 kB / 1.063 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.2407, allocations: 31.84 kB / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.2408, allocations: 12 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001734/0.241, allocations: 233.8 kB / 1.064 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.241, allocations: 0 / 1.064 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002588/0.2412, allocations: 56 kB / 1.064 GB, free: 12.8 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.001329/0.2426, allocations: 1.16 MB / 1.065 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000443/0.243, allocations: 311.8 kB / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.243, allocations: 4 kB / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.2432, allocations: 127.8 kB / 1.065 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.2434, allocations: 36.61 kB / 1.065 GB, free: 11.29 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.002384/0.2458, allocations: 2.443 MB / 1.068 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.2461, allocations: 0.7574 MB / 1.068 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002735/0.2464, allocations: 142.9 kB / 1.069 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.2465, allocations: 91.39 kB / 1.069 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2465, allocations: 0 / 1.069 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.086/4.333, allocations: 5.426 MB / 1.074 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/16.92, allocations: 10.73 kB / 1.074 GB, free: 2.461 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)