Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 76.45 kB / 19.02 MB, free: 1.102 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002202/0.002202, allocations: 159.2 kB / 22.29 MB, free: 3.512 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 177.2 MB / 202.7 MB, free: 4.816 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.204/1.204, allocations: 154.7 MB / 413.8 MB, free: 3.148 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 62.78 kB / 0.6181 GB, free: 1.07 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1916, allocations: 102 MB / 0.7177 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001873/0.1935, allocations: 0.6133 MB / 0.7183 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002374/0.1959, allocations: 1.451 MB / 0.7197 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.244e-05/0.1959, allocations: 0 / 0.7197 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.38e-05/0.196, allocations: 0 / 0.7197 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.072e-05/0.196, allocations: 3.938 kB / 0.7197 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008521/0.1969, allocations: 215.8 kB / 0.7199 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.679e-05/0.197, allocations: 35.89 kB / 0.72 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.197, allocations: 0 / 0.72 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.135e-05/0.1971, allocations: 31.91 kB / 0.72 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.139e-05/0.1971, allocations: 15.98 kB / 0.72 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.1971, allocations: 4 kB / 0.72 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005109/0.1976, allocations: 263.6 kB / 0.7203 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.912e-05/0.1977, allocations: 7.938 kB / 0.7203 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.306e-05/0.1977, allocations: 11.94 kB / 0.7203 GB, free: 8.531 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003762/0.1981, allocations: 227.3 kB / 0.7205 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1981, allocations: 0 / 0.7205 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1981, allocations: 0 / 0.7205 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.1981, allocations: 0 / 0.7205 GB, free: 8.309 MB / 0.6198 GB 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.0004494/0.1986, allocations: 327.6 kB / 0.7208 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1986, allocations: 12.03 kB / 0.7208 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.861e-05/0.1986, allocations: 34.73 kB / 0.7209 GB, free: 7.898 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.1987, allocations: 8.891 kB / 0.7209 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.1988, allocations: 114.5 kB / 0.721 GB, free: 7.754 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1988, allocations: 384 / 0.721 GB, free: 7.754 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.1988, allocations: 4.375 kB / 0.721 GB, free: 7.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.199, allocations: 107.4 kB / 0.7211 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.199, allocations: 0 / 0.7211 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.199, allocations: 0 / 0.7211 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.199, allocations: 0 / 0.7211 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.1991, allocations: 73.66 kB / 0.7212 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.1993, allocations: 132.7 kB / 0.7213 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.1994, allocations: 88.17 kB / 0.7214 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.98e-05/0.1995, allocations: 70.56 kB / 0.7214 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-06/0.1995, allocations: 0 / 0.7214 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.1995, allocations: 38.5 kB / 0.7215 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.1995, allocations: 3.938 kB / 0.7215 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003976/0.1999, allocations: 250.9 kB / 0.7217 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/0.2, allocations: 85.09 kB / 0.7218 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.2001, allocations: 110.1 kB / 0.7219 GB, free: 6.664 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.2001, allocations: 29.73 kB / 0.7219 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.527e-05/0.2002, allocations: 88.14 kB / 0.722 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.2003, allocations: 23.73 kB / 0.722 GB, free: 6.516 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.876e-05/0.2003, allocations: 25.66 kB / 0.7221 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.2005, allocations: 318.8 kB / 0.7224 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.939e-05/0.2006, allocations: 69.67 kB / 0.7224 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.558e-05/0.2007, allocations: 65.98 kB / 0.7225 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.2009, allocations: 148.2 kB / 0.7226 GB, free: 5.859 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2009, allocations: 4 kB / 0.7226 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002402/0.2011, allocations: 177 kB / 0.7228 GB, free: 5.664 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.533e-05/0.2012, allocations: 41.69 kB / 0.7228 GB, free: 5.617 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.2012, allocations: 4.062 kB / 0.7228 GB, free: 5.613 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.2012, allocations: 0 / 0.7228 GB, free: 5.613 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-06/0.2012, allocations: 0 / 0.7228 GB, free: 5.613 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2012, allocations: 4 kB / 0.7229 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.2014, allocations: 11.94 kB / 0.7229 GB, free: 5.598 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.2014, allocations: 4 kB / 0.7229 GB, free: 5.594 MB / 0.6198 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 (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.0001433/0.2016, allocations: 147.5 kB / 0.723 GB, free: 5.434 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.2016, allocations: 7.938 kB / 0.723 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/0.2016, allocations: 16.42 kB / 0.723 GB, free: 5.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2016, allocations: 3.984 kB / 0.723 GB, free: 5.406 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2016, allocations: 4 kB / 0.723 GB, free: 5.402 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.2016, allocations: 4 kB / 0.723 GB, free: 5.398 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.2018, allocations: 132.7 kB / 0.7232 GB, free: 5.227 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2018, allocations: 0 / 0.7232 GB, free: 5.227 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-06/0.2018, allocations: 7.875 kB / 0.7232 GB, free: 5.219 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2018, allocations: 0 / 0.7232 GB, free: 5.219 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.2018, allocations: 4 kB / 0.7232 GB, free: 5.215 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2018, allocations: 0 / 0.7232 GB, free: 5.215 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2018, allocations: 0 / 0.7232 GB, free: 5.215 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.2021, allocations: 228.4 kB / 0.7234 GB, free: 4.961 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.526e-05/0.2021, allocations: 11.89 kB / 0.7234 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.2021, allocations: 8.031 kB / 0.7234 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.017e-05/0.2022, allocations: 11.98 kB / 0.7234 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.2022, allocations: 3.938 kB / 0.7234 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.2022, allocations: 4 kB / 0.7234 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.327e-05/0.2023, allocations: 95.27 kB / 0.7235 GB, free: 4.828 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.2023, allocations: 0 / 0.7235 GB, free: 4.828 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003968/0.2027, allocations: 71.86 kB / 0.7236 GB, free: 4.758 MB / 0.6198 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 (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.00115/0.2039, allocations: 0.8263 MB / 0.7244 GB, free: 3.891 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003353/0.2042, allocations: 222.7 kB / 0.7246 GB, free: 3.648 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2042, allocations: 4.062 kB / 0.7246 GB, free: 3.645 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.2044, allocations: 149 kB / 0.7248 GB, free: 3.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.2045, allocations: 4 kB / 0.7248 GB, free: 3.477 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005768/0.2051, allocations: 259.9 kB / 0.725 GB, free: 3.176 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.111e-05/0.2052, allocations: 71.28 kB / 0.7251 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.36e-06/0.2052, allocations: 0 / 0.7251 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.2052, allocations: 12.5 kB / 0.7251 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/0.2052, allocations: 4 kB / 0.7251 GB, free: 3.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.238, allocations: 3.774 MB / 0.7288 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.54, allocations: 9.016 kB / 0.7288 GB, free: 15.41 MB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.559717644006014] Failed to read output from testmodel.py, exit status != 0: 11.649592781002866 11.671300958 11.469546937 Calling exit ...