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.00122/0.00122, allocations: 102.1 kB / 15.98 MB, free: 6.344 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.001166/0.001166, allocations: 195.1 kB / 16.91 MB, free: 6.188 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.205/1.205, allocations: 222.9 MB / 240.6 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6677/0.6677, allocations: 115.3 MB / 406.1 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.91 kB / 493.2 MB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2737, allocations: 76.17 MB / 0.556 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002271/0.276, allocations: 1.686 MB / 0.5577 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.2771, allocations: 1.131 MB / 0.5588 GB, free: 34.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.524e-05/0.2772, allocations: 5.281 kB / 0.5588 GB, free: 34.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.2774, allocations: 22.81 kB / 0.5588 GB, free: 34.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.2776, allocations: 59.41 kB / 0.5589 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.2779, allocations: 119 kB / 0.559 GB, free: 34.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.2781, allocations: 235.6 kB / 0.5592 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.602e-05/0.2782, allocations: 26.3 kB / 0.5592 GB, free: 34.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.042e-05/0.2783, allocations: 76.78 kB / 0.5593 GB, free: 34.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.2784, allocations: 93.92 kB / 0.5594 GB, free: 34.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.2785, allocations: 17.09 kB / 0.5594 GB, free: 34.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.2786, allocations: 82.31 kB / 0.5595 GB, free: 34.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.068e-05/0.2787, allocations: 79.84 kB / 0.5596 GB, free: 34.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.942e-05/0.2787, allocations: 105.1 kB / 0.5597 GB, free: 33.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.279, allocations: 278.2 kB / 0.5599 GB, free: 33.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.279, allocations: 1.344 kB / 0.5599 GB, free: 33.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.279, allocations: 0 / 0.5599 GB, free: 33.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.279, allocations: 1.125 kB / 0.5599 GB, free: 33.88 MB / 446.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.0005867/0.2796, allocations: 0.5335 MB / 0.5604 GB, free: 33.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.2797, allocations: 8.531 kB / 0.5605 GB, free: 33.4 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.323e-05/0.2797, allocations: 54.55 kB / 0.5605 GB, free: 33.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.134e-05/0.2798, allocations: 29.53 kB / 0.5605 GB, free: 33.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.28, allocations: 260.7 kB / 0.5608 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.28, allocations: 13.31 kB / 0.5608 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.28, allocations: 19.12 kB / 0.5608 GB, free: 33.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/0.2804, allocations: 223 kB / 0.561 GB, free: 32.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.2804, allocations: 0.6875 kB / 0.561 GB, free: 32.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.2804, allocations: 6 kB / 0.561 GB, free: 32.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.2804, allocations: 7.031 kB / 0.561 GB, free: 32.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008289/0.2812, allocations: 0.7368 MB / 0.5618 GB, free: 32.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006486/0.2819, allocations: 0.5762 MB / 0.5623 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/0.2823, allocations: 298.9 kB / 0.5626 GB, free: 32.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.2825, allocations: 104.1 kB / 0.5627 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.112e-05/0.2825, allocations: 16.84 kB / 0.5627 GB, free: 32.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002768/0.2828, allocations: 179.7 kB / 0.5629 GB, free: 32.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.2828, allocations: 0 / 0.5629 GB, free: 32.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.0005839/0.2834, allocations: 366.4 kB / 0.5632 GB, free: 32.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.2835, allocations: 133.4 kB / 0.5634 GB, free: 31.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.2837, allocations: 311.4 kB / 0.5637 GB, free: 31.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.2837, allocations: 32.72 kB / 0.5637 GB, free: 31.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.2838, allocations: 119 kB / 0.5638 GB, free: 31.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.375e-05/0.2838, allocations: 122.5 kB / 0.5639 GB, free: 31.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.168e-05/0.2839, allocations: 66.47 kB / 0.564 GB, free: 31.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.958e-05/0.284, allocations: 334.4 kB / 0.5643 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.2841, allocations: 81.75 kB / 0.5644 GB, free: 31.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.2843, allocations: 129 kB / 0.5645 GB, free: 31.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.2846, allocations: 214.5 kB / 0.5647 GB, free: 30.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2846, allocations: 3.938 kB / 0.5647 GB, free: 30.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003991/0.285, allocations: 274.5 kB / 0.565 GB, free: 30.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.285, allocations: 4.531 kB / 0.565 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.285, allocations: 1.312 kB / 0.565 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.285, allocations: 10.75 kB / 0.565 GB, free: 30.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.2852, allocations: 60.95 kB / 0.5651 GB, free: 30.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.2852, allocations: 1.094 kB / 0.5651 GB, free: 30.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.2854, allocations: 28.31 kB / 0.5651 GB, free: 30.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.2854, allocations: 14.97 kB / 0.5651 GB, free: 30.85 MB / 446.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.0001145/0.2855, allocations: 158.6 kB / 0.5653 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.2856, allocations: 26.47 kB / 0.5653 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005965/0.2862, allocations: 384.3 kB / 0.5656 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2862, allocations: 5.688 kB / 0.5656 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2862, allocations: 4 kB / 0.5657 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2862, allocations: 7.391 kB / 0.5657 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.2865, allocations: 324.5 kB / 0.566 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2865, allocations: 1.531 kB / 0.566 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.2866, allocations: 57.14 kB / 0.566 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.2867, allocations: 1.344 kB / 0.566 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.2867, allocations: 14.92 kB / 0.566 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2867, allocations: 2.562 kB / 0.566 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2867, allocations: 0.7969 kB / 0.566 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004004/0.2871, allocations: 319.5 kB / 0.5663 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.029e-05/0.2872, allocations: 147.2 kB / 0.5665 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.2872, allocations: 6.891 kB / 0.5665 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.2874, allocations: 15.62 kB / 0.5665 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.2874, allocations: 32.98 kB / 0.5665 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.2875, allocations: 11.08 kB / 0.5666 GB, free: 29.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001626/0.2876, allocations: 235.7 kB / 0.5668 GB, free: 29.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2876, allocations: 0 / 0.5668 GB, free: 29.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00027/0.2879, allocations: 58.44 kB / 0.5668 GB, free: 29.84 MB / 446.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.001289/0.2892, allocations: 1.155 MB / 0.568 GB, free: 29.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004687/0.2897, allocations: 309.7 kB / 0.5683 GB, free: 29.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2897, allocations: 0 / 0.5683 GB, free: 29.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.2899, allocations: 133.5 kB / 0.5684 GB, free: 28.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.2901, allocations: 42.34 kB / 0.5684 GB, free: 28.95 MB / 446.1 MB 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.002362/0.2925, allocations: 2.518 MB / 0.5709 GB, free: 27.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.2927, allocations: 0.7578 MB / 0.5716 GB, free: 26.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002997/0.293, allocations: 143.1 kB / 0.5718 GB, free: 26.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.2931, allocations: 92.86 kB / 0.5718 GB, free: 26.53 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2931, allocations: 1 kB / 0.5718 GB, free: 26.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.039/2.332, allocations: 5.343 MB / 0.5771 GB, free: 25.86 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/2.332, allocations: 273.4 kB / 0.5773 GB, free: 25.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/4.566, allocations: 0 / 0.5773 GB, free: 25.5 MB / 446.1 MB (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)