Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.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.SmoothInterpolation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation",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.001188/0.001188, allocations: 104.2 kB / 15.98 MB, free: 5.871 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.001252/0.001252, allocations: 190.8 kB / 16.91 MB, free: 5.738 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.498/1.498, allocations: 222.9 MB / 240.6 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7046/0.7046, allocations: 115.3 MB / 406.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001279, allocations: 66.95 kB / 493.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1871, allocations: 76.18 MB / 0.5561 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002366/0.1895, allocations: 0.6706 MB / 0.5567 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.1918, allocations: 1.441 MB / 0.5581 GB, free: 8.461 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.456e-05/0.1919, allocations: 0 / 0.5581 GB, free: 8.461 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.567e-05/0.192, allocations: 0 / 0.5581 GB, free: 8.461 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.78e-05/0.192, allocations: 0 / 0.5581 GB, free: 8.461 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009063/0.1929, allocations: 191.7 kB / 0.5583 GB, free: 8.273 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.193, allocations: 43.91 kB / 0.5583 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.106e-05/0.1931, allocations: 4 kB / 0.5583 GB, free: 8.227 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.453e-05/0.1931, allocations: 15.98 kB / 0.5584 GB, free: 8.211 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.911e-05/0.1932, allocations: 23.91 kB / 0.5584 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.1932, allocations: 4 kB / 0.5584 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004392/0.1937, allocations: 243.6 kB / 0.5586 GB, free: 7.945 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.199e-05/0.1937, allocations: 11.98 kB / 0.5586 GB, free: 7.934 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.1938, allocations: 11.88 kB / 0.5586 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003936/0.1942, allocations: 215.5 kB / 0.5588 GB, free: 7.711 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1942, allocations: 0 / 0.5588 GB, free: 7.711 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1942, allocations: 4 kB / 0.5588 GB, free: 7.707 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1942, allocations: 0 / 0.5588 GB, free: 7.707 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000496/0.1947, allocations: 405.3 kB / 0.5592 GB, free: 7.258 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.1948, allocations: 8.031 kB / 0.5592 GB, free: 7.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.884e-05/0.1948, allocations: 42.67 kB / 0.5593 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.1948, allocations: 4.938 kB / 0.5593 GB, free: 7.195 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.195, allocations: 176.2 kB / 0.5595 GB, free: 6.984 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.195, allocations: 4.375 kB / 0.5595 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.195, allocations: 384 / 0.5595 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.1952, allocations: 81.78 kB / 0.5595 GB, free: 6.895 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1952, allocations: 0 / 0.5595 GB, free: 6.895 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1953, allocations: 0 / 0.5595 GB, free: 6.895 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.1953, allocations: 0 / 0.5595 GB, free: 6.895 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.772e-05/0.1953, allocations: 39.95 kB / 0.5596 GB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.1955, allocations: 165.6 kB / 0.5597 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.754e-05/0.1956, allocations: 62.55 kB / 0.5598 GB, free: 6.574 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.693e-05/0.1957, allocations: 48.88 kB / 0.5598 GB, free: 6.523 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/0.1957, allocations: 4 kB / 0.5598 GB, free: 6.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.1958, allocations: 38.48 kB / 0.5599 GB, free: 6.473 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.1958, allocations: 0 / 0.5599 GB, free: 6.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003552/0.1961, allocations: 195.2 kB / 0.5601 GB, free: 6.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.1962, allocations: 77.11 kB / 0.5601 GB, free: 6.176 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.841e-05/0.1963, allocations: 114.1 kB / 0.5603 GB, free: 6.055 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1963, allocations: 29.7 kB / 0.5603 GB, free: 6.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.1964, allocations: 84.14 kB / 0.5604 GB, free: 5.934 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.1964, allocations: 31.67 kB / 0.5604 GB, free: 5.902 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.1965, allocations: 17.72 kB / 0.5604 GB, free: 5.879 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1966, allocations: 318.8 kB / 0.5607 GB, free: 5.559 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.299e-05/0.1967, allocations: 43.91 kB / 0.5608 GB, free: 5.516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.553e-05/0.1967, allocations: 27.98 kB / 0.5608 GB, free: 5.488 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.1969, allocations: 140.2 kB / 0.5609 GB, free: 5.336 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.1969, allocations: 0 / 0.5609 GB, free: 5.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001957/0.1971, allocations: 159.4 kB / 0.5611 GB, free: 5.168 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/0.1971, allocations: 43.78 kB / 0.5611 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1972, allocations: 0 / 0.5611 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1972, allocations: 0 / 0.5611 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.186e-06/0.1972, allocations: 4 kB / 0.5611 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1972, allocations: 0 / 0.5611 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.1974, allocations: 11.89 kB / 0.5611 GB, free: 5.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.1974, allocations: 4 kB / 0.5611 GB, free: 5.102 MB / 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001219/0.1975, allocations: 151.5 kB / 0.5613 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.1975, allocations: 7.938 kB / 0.5613 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.442e-05/0.1976, allocations: 8.375 kB / 0.5613 GB, free: 4.922 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1976, allocations: 0 / 0.5613 GB, free: 4.922 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1976, allocations: 4 kB / 0.5613 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1976, allocations: 0 / 0.5613 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.1977, allocations: 173.5 kB / 0.5615 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1977, allocations: 0 / 0.5615 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-06/0.1977, allocations: 7.875 kB / 0.5615 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.1977, allocations: 0 / 0.5615 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1978, allocations: 8 kB / 0.5615 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1978, allocations: 0 / 0.5615 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1978, allocations: 0 / 0.5615 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.198, allocations: 198.7 kB / 0.5617 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.1981, allocations: 88.94 kB / 0.5617 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.1981, allocations: 4 kB / 0.5617 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.979e-05/0.1982, allocations: 4 kB / 0.5618 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.1982, allocations: 4 kB / 0.5618 GB, free: 4.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.1982, allocations: 7.984 kB / 0.5618 GB, free: 4.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.458e-05/0.1983, allocations: 87.28 kB / 0.5618 GB, free: 4.254 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1983, allocations: 4.031 kB / 0.5619 GB, free: 4.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003562/0.1986, allocations: 75.98 kB / 0.5619 GB, free: 4.176 MB / 430.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007799/0.1994, allocations: 0.7864 MB / 0.5627 GB, free: 3.355 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.1997, allocations: 203.2 kB / 0.5629 GB, free: 3.145 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1997, allocations: 0 / 0.5629 GB, free: 3.145 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.1999, allocations: 159.4 kB / 0.563 GB, free: 2.977 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.2, allocations: 6.062 kB / 0.563 GB, free: 2.973 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005168/0.2005, allocations: 230.6 kB / 0.5633 GB, free: 2.707 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.2008, allocations: 0.6846 MB / 0.5639 GB, free: 1.996 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.233e-06/0.2008, allocations: 0 / 0.5639 GB, free: 1.996 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.2009, allocations: 11.44 kB / 0.5639 GB, free: 1.984 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2009, allocations: 4.062 kB / 0.5639 GB, free: 1.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01526/0.2161, allocations: 2.997 MB / 0.5669 GB, free: 15.11 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/0.2164, allocations: 212 kB / 0.5671 GB, free: 14.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/1.877, allocations: 0 / 0.5671 GB, free: 14.86 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)