Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.0008781/0.0008781, allocations: 92.95 kB / 16.02 MB, free: 84 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.00104/0.00104, allocations: 182 kB / 16.91 MB, free: 6.914 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.501/1.501, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7042/0.7042, allocations: 115.5 MB / 407.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003591, allocations: 8 kB / 496 MB, free: 6.289 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1801, allocations: 77.52 MB / 0.56 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Interpolate): time 0.001535/0.1817, allocations: 1.186 MB / 0.5612 GB, free: 7.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.183, allocations: 0.7841 MB / 0.562 GB, free: 6.977 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.428e-05/0.183, allocations: 0 / 0.562 GB, free: 6.977 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.1833, allocations: 135.8 kB / 0.5621 GB, free: 6.844 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005339/0.1838, allocations: 159.6 kB / 0.5622 GB, free: 6.688 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.184, allocations: 59.88 kB / 0.5623 GB, free: 6.629 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.1841, allocations: 59.88 kB / 0.5624 GB, free: 6.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.014e-05/0.1842, allocations: 4 kB / 0.5624 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.907e-05/0.1843, allocations: 43.88 kB / 0.5624 GB, free: 6.523 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1845, allocations: 75.86 kB / 0.5625 GB, free: 6.449 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.1845, allocations: 0 / 0.5625 GB, free: 6.449 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003867/0.1849, allocations: 215.7 kB / 0.5627 GB, free: 6.238 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.185, allocations: 111.7 kB / 0.5628 GB, free: 6.129 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.1851, allocations: 128.8 kB / 0.5629 GB, free: 5.996 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004181/0.1856, allocations: 327 kB / 0.5632 GB, free: 5.676 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1856, allocations: 0 / 0.5632 GB, free: 5.676 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1856, allocations: 0 / 0.5632 GB, free: 5.676 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1856, allocations: 0 / 0.5632 GB, free: 5.676 MB / 430.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.0008114/0.1864, allocations: 0.5723 MB / 0.5638 GB, free: 5.055 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1865, allocations: 12.03 kB / 0.5638 GB, free: 5.043 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.38e-05/0.1865, allocations: 38.75 kB / 0.5638 GB, free: 4.996 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.713e-05/0.1866, allocations: 32.47 kB / 0.5639 GB, free: 4.965 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008033/0.1874, allocations: 0.916 MB / 0.5648 GB, free: 4.016 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-06/0.1874, allocations: 384 / 0.5648 GB, free: 4.016 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.1874, allocations: 8.359 kB / 0.5648 GB, free: 4.008 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.1876, allocations: 89.73 kB / 0.5648 GB, free: 3.914 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.1876, allocations: 4 kB / 0.5648 GB, free: 3.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1876, allocations: 0 / 0.5648 GB, free: 3.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1877, allocations: 7.984 kB / 0.5649 GB, free: 3.902 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.1879, allocations: 111.9 kB / 0.565 GB, free: 3.793 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006373/0.1886, allocations: 0.5748 MB / 0.5655 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.1888, allocations: 114.5 kB / 0.5656 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.1889, allocations: 60.89 kB / 0.5657 GB, free: 2.984 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.91e-05/0.1889, allocations: 19.98 kB / 0.5657 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.189, allocations: 34.56 kB / 0.5657 GB, free: 2.922 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.189, allocations: 4 kB / 0.5657 GB, free: 2.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004917/0.1895, allocations: 233.2 kB / 0.566 GB, free: 2.684 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.1895, allocations: 51.41 kB / 0.566 GB, free: 2.621 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.1907, allocations: 1.212 MB / 0.5672 GB, free: 1.398 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.1907, allocations: 25.7 kB / 0.5672 GB, free: 1.367 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.1908, allocations: 176.1 kB / 0.5674 GB, free: 1.191 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.1908, allocations: 15.81 kB / 0.5674 GB, free: 1.176 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.233e-05/0.1909, allocations: 17.59 kB / 0.5674 GB, free: 1.152 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.191, allocations: 350.8 kB / 0.5678 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.1911, allocations: 59.98 kB / 0.5678 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.1912, allocations: 55.97 kB / 0.5679 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.1915, allocations: 116.9 kB / 0.568 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1915, allocations: 0 / 0.568 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002864/0.1918, allocations: 173.2 kB / 0.5682 GB, free: 404 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1918, allocations: 8 kB / 0.5682 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1918, allocations: 0 / 0.5682 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1918, allocations: 0 / 0.5682 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1919, allocations: 11.98 kB / 0.5682 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1919, allocations: 3.938 kB / 0.5682 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.944e-05/0.192, allocations: 8 kB / 0.5682 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.192, allocations: 4 kB / 0.5682 GB, free: 368 kB / 430.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 (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 prepare postOptimizeDAE: time 0.0001364/0.1922, allocations: 169.8 kB / 0.5683 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.1922, allocations: 35.53 kB / 0.5684 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003358/0.1926, allocations: 188 kB / 0.5686 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1926, allocations: 4.031 kB / 0.5686 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1926, allocations: 0 / 0.5686 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1926, allocations: 0 / 0.5686 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.1929, allocations: 297.5 kB / 0.5688 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1929, allocations: 0 / 0.5688 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.06e-05/0.193, allocations: 8 kB / 0.5689 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.193, allocations: 0 / 0.5689 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.193, allocations: 4 kB / 0.5689 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.193, allocations: 3.984 kB / 0.5689 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.193, allocations: 7.922 kB / 0.5689 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.1933, allocations: 267.1 kB / 0.5691 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.1934, allocations: 132.6 kB / 0.5693 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.1935, allocations: 0 / 0.5693 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1936, allocations: 12.03 kB / 0.5693 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.1936, allocations: 3.984 kB / 0.5693 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.1936, allocations: 8 kB / 0.5693 GB, free: 15.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008693/0.1945, allocations: 0.952 MB / 0.5702 GB, free: 14.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1945, allocations: 0 / 0.5702 GB, free: 14.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003481/0.1949, allocations: 68 kB / 0.5703 GB, free: 14.12 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.0007903/0.1957, allocations: 0.8604 MB / 0.5711 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002753/0.196, allocations: 112 kB / 0.5712 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.196, allocations: 0 / 0.5712 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.1961, allocations: 59.95 kB / 0.5713 GB, free: 13.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.1964, allocations: 33.78 kB / 0.5713 GB, free: 13.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006709/0.2032, allocations: 6.91 MB / 0.5781 GB, free: 6.047 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.2035, allocations: 0.7752 MB / 0.5788 GB, free: 5.246 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.959e-05/0.2036, allocations: 38.94 kB / 0.5788 GB, free: 5.207 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.2037, allocations: 87.41 kB / 0.5789 GB, free: 5.121 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2037, allocations: 0 / 0.5789 GB, free: 5.121 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2856/0.4893, allocations: 6.539 MB / 0.5853 GB, free: 31 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/0.4895, allocations: 182.7 kB / 0.5855 GB, free: 30.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.41, allocations: 2.656 kB / 0.5855 GB, free: 30.75 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Interpolate.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe 2>&1)