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.00126/0.00126, allocations: 107.5 kB / 16.41 MB, free: 6.492 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.001387/0.001387, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7511/0.7511, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 65.58 kB / 0.5572 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1858, allocations: 76.18 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Interpolate): time 0.003288/0.1891, allocations: 1.455 MB / 0.633 GB, free: 3.43 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.1907, allocations: 0.7799 MB / 0.6338 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.213e-05/0.1908, allocations: 0 / 0.6338 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.1912, allocations: 139.8 kB / 0.6339 GB, free: 2.504 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007855/0.192, allocations: 179.6 kB / 0.6341 GB, free: 2.328 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.1922, allocations: 75.78 kB / 0.6342 GB, free: 2.254 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.1924, allocations: 59.88 kB / 0.6342 GB, free: 2.195 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.769e-05/0.1925, allocations: 11.98 kB / 0.6342 GB, free: 2.184 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.451e-05/0.1926, allocations: 43.83 kB / 0.6343 GB, free: 2.141 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.1927, allocations: 75.86 kB / 0.6343 GB, free: 2.066 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1927, allocations: 7.938 kB / 0.6343 GB, free: 2.059 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003823/0.1931, allocations: 231.7 kB / 0.6346 GB, free: 1.832 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.1932, allocations: 107.7 kB / 0.6347 GB, free: 1.727 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.536e-05/0.1933, allocations: 95.2 kB / 0.6348 GB, free: 1.633 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004334/0.1938, allocations: 349.7 kB / 0.6351 GB, free: 1.293 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1938, allocations: 0 / 0.6351 GB, free: 1.293 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1938, allocations: 0 / 0.6351 GB, free: 1.293 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.1938, allocations: 0 / 0.6351 GB, free: 1.293 MB / 478.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.0008058/0.1946, allocations: 0.6077 MB / 0.6357 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1947, allocations: 16.02 kB / 0.6357 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.085e-05/0.1947, allocations: 34.75 kB / 0.6357 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.096e-05/0.1948, allocations: 32.47 kB / 0.6358 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008359/0.1956, allocations: 0.916 MB / 0.6367 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1957, allocations: 384 / 0.6367 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.1957, allocations: 384 / 0.6367 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.1959, allocations: 85.78 kB / 0.6367 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1959, allocations: 8 kB / 0.6368 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.1959, allocations: 0 / 0.6368 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1959, allocations: 0 / 0.6368 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.1961, allocations: 103.9 kB / 0.6369 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006652/0.1968, allocations: 0.5787 MB / 0.6374 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.197, allocations: 106.5 kB / 0.6375 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.1971, allocations: 52.89 kB / 0.6376 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.067e-05/0.1972, allocations: 27.97 kB / 0.6376 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.1972, allocations: 34.5 kB / 0.6376 GB, free: 14.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1972, allocations: 3.938 kB / 0.6376 GB, free: 14.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004594/0.1977, allocations: 209.3 kB / 0.6378 GB, free: 14.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.1977, allocations: 55.39 kB / 0.6379 GB, free: 14.24 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.1988, allocations: 1.209 MB / 0.6391 GB, free: 13.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.1988, allocations: 25.7 kB / 0.6391 GB, free: 12.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.1989, allocations: 180.1 kB / 0.6393 GB, free: 12.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.1989, allocations: 3.906 kB / 0.6393 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.199, allocations: 13.72 kB / 0.6393 GB, free: 12.78 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1991, allocations: 354.7 kB / 0.6396 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.1992, allocations: 48 kB / 0.6397 GB, free: 12.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.097e-05/0.1993, allocations: 55.91 kB / 0.6397 GB, free: 12.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.1995, allocations: 112.7 kB / 0.6398 GB, free: 12.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1995, allocations: 0 / 0.6398 GB, free: 12.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002645/0.1998, allocations: 165.2 kB / 0.64 GB, free: 12.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1998, allocations: 5.875 kB / 0.64 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1998, allocations: 0 / 0.64 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1998, allocations: 0 / 0.64 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.788e-05/0.1999, allocations: 11.98 kB / 0.64 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1999, allocations: 0 / 0.64 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.332e-05/0.2, allocations: 11.98 kB / 0.64 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.2, allocations: 0 / 0.64 GB, free: 12.02 MB / 494.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.0001273/0.2002, allocations: 169.8 kB / 0.6402 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.2002, allocations: 31.62 kB / 0.6402 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.2005, allocations: 172 kB / 0.6404 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2005, allocations: 0 / 0.6404 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2005, allocations: 0 / 0.6404 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2006, allocations: 7.984 kB / 0.6404 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.2008, allocations: 297.5 kB / 0.6407 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2008, allocations: 4 kB / 0.6407 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.528e-05/0.2009, allocations: 12.02 kB / 0.6407 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2009, allocations: 0 / 0.6407 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.2009, allocations: 4 kB / 0.6407 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2009, allocations: 0 / 0.6407 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2009, allocations: 0 / 0.6407 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.2012, allocations: 262.9 kB / 0.6409 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.797e-05/0.2013, allocations: 128.7 kB / 0.6411 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.2014, allocations: 4 kB / 0.6411 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.2015, allocations: 7.984 kB / 0.6411 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.2015, allocations: 0 / 0.6411 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.2015, allocations: 0 / 0.6411 GB, free: 10.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008056/0.2023, allocations: 0.9559 MB / 0.642 GB, free: 9.887 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2023, allocations: 3.938 kB / 0.642 GB, free: 9.883 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003586/0.2027, allocations: 71.98 kB / 0.6421 GB, free: 9.812 MB / 494.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.0007389/0.2035, allocations: 0.8448 MB / 0.6429 GB, free: 8.941 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.2037, allocations: 111.9 kB / 0.643 GB, free: 8.832 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2037, allocations: 4.094 kB / 0.643 GB, free: 8.828 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.903e-05/0.2038, allocations: 47.97 kB / 0.643 GB, free: 8.781 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.2042, allocations: 25.56 kB / 0.6431 GB, free: 8.758 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006287/0.2105, allocations: 6.745 MB / 0.6497 GB, free: 1.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.2108, allocations: 0.7887 MB / 0.6504 GB, free: 1.117 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.439e-05/0.2109, allocations: 38.94 kB / 0.6505 GB, free: 1.078 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.211, allocations: 95.39 kB / 0.6506 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.211, allocations: 0 / 0.6506 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.2344, allocations: 7.133 MB / 0.6575 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.225, allocations: 7.875 kB / 0.6575 GB, free: 9.945 MB / 0.4981 GB (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)