Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.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.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Interpolate",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.001056/0.001056, allocations: 99.86 kB / 16.27 MB, free: 5.957 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.00123/0.00123, allocations: 186.9 kB / 17.19 MB, free: 5.594 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.29/1.29, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7705/0.7705, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 59.91 kB / 0.4912 GB, free: 7.309 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3454, allocations: 77.93 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Interpolate): time 0.002778/0.3483, allocations: 1.477 MB / 0.5687 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.3495, allocations: 0.7277 MB / 0.5694 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.3495, allocations: 5 kB / 0.5694 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.3498, allocations: 128.4 kB / 0.5696 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.99e-05/0.3499, allocations: 70 kB / 0.5696 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005811/0.3505, allocations: 188.2 kB / 0.5698 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.461e-05/0.3506, allocations: 66.02 kB / 0.5699 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.3506, allocations: 3.031 kB / 0.5699 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.775e-05/0.3507, allocations: 39.52 kB / 0.5699 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.3508, allocations: 76.56 kB / 0.57 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.3509, allocations: 6.219 kB / 0.57 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003729/0.3512, allocations: 230 kB / 0.5702 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.006e-05/0.3513, allocations: 60.05 kB / 0.5703 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.3514, allocations: 55.83 kB / 0.5703 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003487/0.3517, allocations: 271 kB / 0.5706 GB, free: 30.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3518, allocations: 2.359 kB / 0.5706 GB, free: 30.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3518, allocations: 0 / 0.5706 GB, free: 30.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.3518, allocations: 1.594 kB / 0.5706 GB, free: 30.93 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005875/0.3524, allocations: 0.4998 MB / 0.5711 GB, free: 30.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3524, allocations: 11.25 kB / 0.5711 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.768e-05/0.3525, allocations: 34.59 kB / 0.5711 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.3525, allocations: 22 kB / 0.5711 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.3527, allocations: 268.7 kB / 0.5714 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.3527, allocations: 1.469 kB / 0.5714 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.3528, allocations: 12.23 kB / 0.5714 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.3529, allocations: 79.16 kB / 0.5715 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.353, allocations: 0 / 0.5715 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.353, allocations: 0.7188 kB / 0.5715 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.353, allocations: 1.438 kB / 0.5715 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.3532, allocations: 85.56 kB / 0.5716 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/0.3537, allocations: 390.4 kB / 0.5719 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.3539, allocations: 94.12 kB / 0.572 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.354, allocations: 47.94 kB / 0.5721 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.354, allocations: 19.19 kB / 0.5721 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.189e-05/0.3541, allocations: 35.91 kB / 0.5721 GB, free: 29.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.3541, allocations: 1.406 kB / 0.5721 GB, free: 29.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003991/0.3545, allocations: 179.3 kB / 0.5723 GB, free: 29.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.3545, allocations: 56 kB / 0.5724 GB, free: 29.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.3548, allocations: 357.8 kB / 0.5727 GB, free: 29.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.3549, allocations: 30.2 kB / 0.5727 GB, free: 29.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.067e-05/0.3549, allocations: 136.8 kB / 0.5729 GB, free: 29.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.172e-05/0.355, allocations: 5.844 kB / 0.5729 GB, free: 29.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.355, allocations: 30.47 kB / 0.5729 GB, free: 29.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.551e-05/0.3551, allocations: 343 kB / 0.5732 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.3552, allocations: 95.47 kB / 0.5733 GB, free: 28.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.3554, allocations: 95.11 kB / 0.5734 GB, free: 28.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.3557, allocations: 207 kB / 0.5736 GB, free: 28.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3557, allocations: 0.9688 kB / 0.5736 GB, free: 28.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003626/0.3561, allocations: 256.7 kB / 0.5738 GB, free: 28.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3561, allocations: 8.188 kB / 0.5739 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3561, allocations: 0.7969 kB / 0.5739 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3561, allocations: 0 / 0.5739 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.834e-05/0.3562, allocations: 10.77 kB / 0.5739 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.3562, allocations: 3.984 kB / 0.5739 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.841e-05/0.3563, allocations: 17.38 kB / 0.5739 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.3563, allocations: 1.312 kB / 0.5739 GB, free: 28.82 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 1 * 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.000107/0.3564, allocations: 149.1 kB / 0.574 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.3565, allocations: 20.25 kB / 0.574 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.3568, allocations: 143.6 kB / 0.5742 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3568, allocations: 1 kB / 0.5742 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3568, allocations: 1.484 kB / 0.5742 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3568, allocations: 1.531 kB / 0.5742 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.357, allocations: 246.9 kB / 0.5744 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.357, allocations: 0 / 0.5744 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.683e-05/0.3571, allocations: 9.719 kB / 0.5744 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3571, allocations: 3.156 kB / 0.5744 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.3571, allocations: 3.938 kB / 0.5744 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3571, allocations: 1.188 kB / 0.5744 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3571, allocations: 1.344 kB / 0.5744 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.3574, allocations: 235.6 kB / 0.5747 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.3575, allocations: 103.4 kB / 0.5748 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.3575, allocations: 0 / 0.5748 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.788e-05/0.3576, allocations: 14.41 kB / 0.5748 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.3577, allocations: 1.703 kB / 0.5748 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.3577, allocations: 1.641 kB / 0.5748 GB, free: 28.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002596/0.358, allocations: 250 kB / 0.575 GB, free: 28.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.358, allocations: 0 / 0.575 GB, free: 28.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004477/0.3584, allocations: 67.23 kB / 0.5751 GB, free: 28.04 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0006924/0.3591, allocations: 0.8229 MB / 0.5759 GB, free: 27.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003653/0.3595, allocations: 160.2 kB / 0.576 GB, free: 27.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3595, allocations: 0.625 kB / 0.576 GB, free: 27.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.3596, allocations: 47.66 kB / 0.5761 GB, free: 27.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.3599, allocations: 18.59 kB / 0.5761 GB, free: 27.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.3627, allocations: 2.711 MB / 0.5788 GB, free: 25.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.3628, allocations: 0.7401 MB / 0.5795 GB, free: 25.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.229e-05/0.3629, allocations: 15.67 kB / 0.5795 GB, free: 25.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.228e-05/0.363, allocations: 53.62 kB / 0.5795 GB, free: 25.05 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.363, allocations: 0 / 0.5795 GB, free: 25.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2752/0.6382, allocations: 4.253 MB / 0.5837 GB, free: 23.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.164/8.803, allocations: 5.141 kB / 0.5837 GB, free: 23.47 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Interpolate.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1)