Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_11_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.004709/0.004709, allocations: 96.61 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.001341/0.001341, allocations: 202.1 kB / 16.68 MB, free: 5.969 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.242/1.242, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.481/2.481, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 71.89 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.243, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002475/0.2455, allocations: 1.627 MB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.2469, allocations: 1.171 MB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.056e-05/0.247, allocations: 0 / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.2472, allocations: 19.8 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.2474, allocations: 71.69 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.2477, allocations: 142.9 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.248, allocations: 233.6 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.355e-05/0.2481, allocations: 16.22 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.903e-05/0.2482, allocations: 83.75 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.2484, allocations: 99.77 kB / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.2484, allocations: 19.94 kB / 1.224 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.2485, allocations: 75.97 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.892e-05/0.2486, allocations: 87.73 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.992e-05/0.2487, allocations: 99.39 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003031/0.249, allocations: 282.8 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.249, allocations: 0 / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2491, allocations: 0 / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2491, allocations: 0 / 1.224 GB, free: 10.27 MB / 0.9825 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.0006662/0.2497, allocations: 0.5496 MB / 1.225 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.2498, allocations: 12.03 kB / 1.225 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.743e-05/0.2498, allocations: 46.73 kB / 1.225 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.592e-05/0.2499, allocations: 28.8 kB / 1.225 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.2501, allocations: 267.8 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.2502, allocations: 8.375 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.2502, allocations: 16.38 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.2505, allocations: 220.7 kB / 1.225 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.2505, allocations: 0 / 1.225 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.2506, allocations: 8 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2506, allocations: 4 kB / 1.225 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008264/0.2514, allocations: 0.7427 MB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007013/0.2521, allocations: 0.5592 MB / 1.226 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004442/0.2526, allocations: 312 kB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.2527, allocations: 105.4 kB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.2528, allocations: 16.25 kB / 1.227 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.253, allocations: 176.9 kB / 1.227 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=34): time 1.422e-06/0.2531, allocations: 0 / 1.227 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.0005975/0.2537, allocations: 366.1 kB / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.2537, allocations: 132.5 kB / 1.228 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.254, allocations: 308 kB / 1.228 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.254, allocations: 33.7 kB / 1.228 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.01e-05/0.2541, allocations: 128.7 kB / 1.228 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.657e-05/0.2542, allocations: 119 kB / 1.228 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.659e-05/0.2543, allocations: 65.69 kB / 1.228 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2544, allocations: 334.8 kB / 1.228 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.2546, allocations: 79.95 kB / 1.229 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.2548, allocations: 136.1 kB / 1.229 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.2551, allocations: 205.2 kB / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2551, allocations: 3.938 kB / 1.229 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004047/0.2555, allocations: 281.2 kB / 1.229 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.2555, allocations: 4 kB / 1.229 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.2555, allocations: 3.938 kB / 1.229 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.2555, allocations: 4 kB / 1.229 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.2557, allocations: 63.91 kB / 1.229 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.2557, allocations: 0 / 1.229 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.2559, allocations: 41.39 kB / 1.229 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.2559, allocations: 12 kB / 1.229 GB, free: 4.656 MB / 0.9825 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.0001415/0.2561, allocations: 161.7 kB / 1.229 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.2561, allocations: 23.86 kB / 1.229 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006225/0.2567, allocations: 384.8 kB / 1.23 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2568, allocations: 4 kB / 1.23 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2568, allocations: 0 / 1.23 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.2568, allocations: 7.969 kB / 1.23 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.2571, allocations: 333.3 kB / 1.23 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2571, allocations: 0 / 1.23 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.2572, allocations: 59.91 kB / 1.23 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.2573, allocations: 4 kB / 1.23 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.2573, allocations: 8 kB / 1.23 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2573, allocations: 0 / 1.23 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2573, allocations: 0 / 1.23 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/0.2577, allocations: 325.8 kB / 1.231 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.2579, allocations: 140.8 kB / 1.231 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.2579, allocations: 8 kB / 1.231 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.258, allocations: 15.98 kB / 1.231 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.2581, allocations: 27.91 kB / 1.231 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.2581, allocations: 15.98 kB / 1.231 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000189/0.2583, allocations: 225.8 kB / 1.231 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2583, allocations: 0 / 1.231 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002551/0.2586, allocations: 67.88 kB / 1.231 GB, free: 2.785 MB / 0.9825 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.001827/0.2604, allocations: 1.154 MB / 1.232 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000363/0.2608, allocations: 231.8 kB / 1.232 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2608, allocations: 4 kB / 1.232 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.261, allocations: 127.8 kB / 1.232 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.2612, allocations: 41.66 kB / 1.233 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.2638, allocations: 2.461 MB / 1.235 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.2641, allocations: 0.754 MB / 1.236 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002863/0.2644, allocations: 146.8 kB / 1.236 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.2645, allocations: 91.39 kB / 1.236 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.913e-06/0.2645, allocations: 0 / 1.236 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6955/0.9601, allocations: 5.479 MB / 1.241 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.543/9.504, allocations: 12 kB / 1.241 GB, free: 8.438 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)