Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 108.8 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00248/0.00248, allocations: 283.8 kB / 303 MB, free: 9.488 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.212/1.212, allocations: 180.9 MB / 0.5261 GB, free: 14.64 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002844, allocations: 106 kB / 0.7248 GB, free: 39.96 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1878, allocations: 94.15 MB / 0.8167 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.002709/0.1905, allocations: 1.479 MB / 0.8182 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1918, allocations: 0.7895 MB / 0.8189 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.363e-05/0.1919, allocations: 8 kB / 0.8189 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.1921, allocations: 131.7 kB / 0.8191 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005895/0.1927, allocations: 176.9 kB / 0.8192 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.1929, allocations: 71.8 kB / 0.8193 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.193, allocations: 71.8 kB / 0.8194 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.882e-05/0.1931, allocations: 8 kB / 0.8194 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.325e-05/0.1931, allocations: 39.89 kB / 0.8194 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.1933, allocations: 91.77 kB / 0.8195 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.1933, allocations: 4 kB / 0.8195 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003796/0.1937, allocations: 235.7 kB / 0.8197 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.1938, allocations: 111.6 kB / 0.8198 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.947e-05/0.1939, allocations: 103.1 kB / 0.8199 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00045/0.1943, allocations: 346.8 kB / 0.8203 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1943, allocations: 0 / 0.8203 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1943, allocations: 0 / 0.8203 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.1944, allocations: 0 / 0.8203 GB, free: 1.777 MB / 0.5606 GB 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.0008726/0.1952, allocations: 0.626 MB / 0.8209 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1953, allocations: 8.031 kB / 0.8209 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.998e-05/0.1953, allocations: 30.75 kB / 0.8209 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.1954, allocations: 36.7 kB / 0.821 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009228/0.1963, allocations: 0.9164 MB / 0.8219 GB, free: 68 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.1963, allocations: 8.375 kB / 0.8219 GB, free: 60 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-06/0.1963, allocations: 4.312 kB / 0.8219 GB, free: 56 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.1965, allocations: 85.78 kB / 0.8219 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1965, allocations: 0 / 0.8219 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1965, allocations: 3.984 kB / 0.822 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1965, allocations: 0 / 0.822 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.1968, allocations: 99.94 kB / 0.822 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007218/0.1975, allocations: 0.5826 MB / 0.8226 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.1977, allocations: 106.5 kB / 0.8227 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.1978, allocations: 60.88 kB / 0.8228 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-05/0.1978, allocations: 19.73 kB / 0.8228 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.1979, allocations: 38.5 kB / 0.8228 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1979, allocations: 0 / 0.8228 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004929/0.1984, allocations: 213.4 kB / 0.823 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.1984, allocations: 51.41 kB / 0.8231 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.1997, allocations: 1.209 MB / 0.8243 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1997, allocations: 33.83 kB / 0.8243 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.1998, allocations: 176.1 kB / 0.8245 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.1999, allocations: 11.89 kB / 0.8245 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.1999, allocations: 13.72 kB / 0.8245 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.2001, allocations: 350.7 kB / 0.8248 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.2002, allocations: 51.97 kB / 0.8249 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.2003, allocations: 47.97 kB / 0.8249 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.2005, allocations: 108.8 kB / 0.825 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2005, allocations: 0 / 0.825 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002862/0.2008, allocations: 165.4 kB / 0.8252 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2008, allocations: 6.188 kB / 0.8252 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2008, allocations: 0 / 0.8252 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.2008, allocations: 3.938 kB / 0.8252 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.897e-05/0.2009, allocations: 16.02 kB / 0.8252 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.2009, allocations: 0 / 0.8252 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.281e-05/0.201, allocations: 7.984 kB / 0.8252 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.201, allocations: 3.938 kB / 0.8252 GB, free: 12.48 MB / 0.5762 GB 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.0001466/0.2011, allocations: 169.7 kB / 0.8254 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/0.2012, allocations: 35.77 kB / 0.8254 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/0.2015, allocations: 168.1 kB / 0.8256 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.85e-06/0.2015, allocations: 4 kB / 0.8256 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.2015, allocations: 4 kB / 0.8256 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2015, allocations: 0 / 0.8256 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.2019, allocations: 297.5 kB / 0.8259 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2019, allocations: 0 / 0.8259 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.2019, allocations: 15.92 kB / 0.8259 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2019, allocations: 0 / 0.8259 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.2019, allocations: 0 / 0.8259 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2019, allocations: 0 / 0.8259 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2019, allocations: 4.031 kB / 0.8259 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.2023, allocations: 263.2 kB / 0.8261 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.2024, allocations: 132.8 kB / 0.8263 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.2025, allocations: 0 / 0.8263 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.2026, allocations: 11.98 kB / 0.8263 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.2026, allocations: 4.031 kB / 0.8263 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.2026, allocations: 4 kB / 0.8263 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009765/0.2036, allocations: 0.9481 MB / 0.8272 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2036, allocations: 0 / 0.8272 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003757/0.2039, allocations: 79.86 kB / 0.8273 GB, free: 10.27 MB / 0.5762 GB 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.0008452/0.2048, allocations: 0.8526 MB / 0.8281 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002678/0.2051, allocations: 103.9 kB / 0.8282 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2051, allocations: 0 / 0.8282 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.2052, allocations: 51.97 kB / 0.8283 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.2055, allocations: 25.66 kB / 0.8283 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007384/0.2129, allocations: 6.763 MB / 0.8349 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.2133, allocations: 0.7792 MB / 0.8357 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.76e-05/0.2134, allocations: 38.92 kB / 0.8357 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.2136, allocations: 95.39 kB / 0.8358 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of SimCode: time 1.233e-06/0.2136, allocations: 4 kB / 0.8358 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03155/0.2451, allocations: 7.183 MB / 0.8428 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.332/8.577, allocations: 8.641 kB / 0.8428 GB, free: 10.36 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.797687993850559] Failed to read output from testmodel.py, exit status != 0: 8.650256920140237 8.674268346 8.475291988 Calling exit ...