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.0009696/0.0009696, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008438/0.0008438, allocations: 162 kB / 22.43 MB, free: 2.145 MB / 18.57 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 0.8526/0.8526, allocations: 177.2 MB / 202.8 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7078/0.7078, allocations: 154.7 MB / 413.9 MB, free: 0.7109 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.001319/0.001319, allocations: 67.89 kB / 0.6184 GB, free: 13.54 MB / 0.5886 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.4315/0.4328, allocations: 102 MB / 0.7179 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001205/0.434, allocations: 0.6136 MB / 0.7185 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.4355, allocations: 1.437 MB / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.4355, allocations: 0 / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 5.693e-05/0.4356, allocations: 5.703 kB / 0.72 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.443e-05/0.4356, allocations: 1.875 kB / 0.72 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000697/0.4363, allocations: 225.7 kB / 0.7202 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.17e-05/0.4364, allocations: 34.19 kB / 0.7202 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.4364, allocations: 1.922 kB / 0.7202 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.735e-05/0.4365, allocations: 25.72 kB / 0.7202 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.752e-05/0.4365, allocations: 23 kB / 0.7203 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.4365, allocations: 2.938 kB / 0.7203 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003825/0.4369, allocations: 260.8 kB / 0.7205 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.32e-05/0.437, allocations: 8.812 kB / 0.7205 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.437, allocations: 14.2 kB / 0.7205 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.4373, allocations: 268.9 kB / 0.7208 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4373, allocations: 0 / 0.7208 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4373, allocations: 4 kB / 0.7208 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.4373, allocations: 0.9688 kB / 0.7208 GB, free: 21.69 MB / 0.6355 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.0002966/0.4376, allocations: 333.5 kB / 0.7211 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.4377, allocations: 9.688 kB / 0.7211 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.135e-05/0.4377, allocations: 37.25 kB / 0.7211 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.4377, allocations: 8.547 kB / 0.7212 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.794e-05/0.4378, allocations: 110 kB / 0.7213 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.4378, allocations: 3.703 kB / 0.7213 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.4378, allocations: 2.625 kB / 0.7213 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.4379, allocations: 108 kB / 0.7214 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.4379, allocations: 5.094 kB / 0.7214 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.4379, allocations: 1.156 kB / 0.7214 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.4379, allocations: 0 / 0.7214 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.351e-05/0.438, allocations: 69.95 kB / 0.7214 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.244e-05/0.4381, allocations: 136.3 kB / 0.7216 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.55e-05/0.4382, allocations: 81.52 kB / 0.7217 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.136e-05/0.4382, allocations: 69.38 kB / 0.7217 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.4382, allocations: 1.672 kB / 0.7217 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.4382, allocations: 36.75 kB / 0.7218 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.4382, allocations: 0 / 0.7218 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002819/0.4385, allocations: 256.8 kB / 0.722 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.4386, allocations: 81.88 kB / 0.7221 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.723e-05/0.4386, allocations: 111.2 kB / 0.7222 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.4386, allocations: 26.86 kB / 0.7222 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.857e-05/0.4386, allocations: 91.23 kB / 0.7223 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.4387, allocations: 25.48 kB / 0.7223 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.4387, allocations: 26.86 kB / 0.7223 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.878e-05/0.4387, allocations: 319.3 kB / 0.7227 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.015e-05/0.4388, allocations: 65.38 kB / 0.7227 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.315e-05/0.4388, allocations: 66.2 kB / 0.7228 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.992e-05/0.4389, allocations: 145.6 kB / 0.7229 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4389, allocations: 4.062 kB / 0.7229 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000136/0.4391, allocations: 195.4 kB / 0.7231 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.4391, allocations: 36.47 kB / 0.7231 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.4391, allocations: 0 / 0.7231 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.4391, allocations: 1.062 kB / 0.7231 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.4391, allocations: 0 / 0.7231 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4391, allocations: 2.016 kB / 0.7231 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.4392, allocations: 11.39 kB / 0.7232 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.4393, allocations: 5.672 kB / 0.7232 GB, free: 19.62 MB / 0.6355 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 6.156e-05/0.4393, allocations: 150.6 kB / 0.7233 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.4393, allocations: 13.31 kB / 0.7233 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.251e-05/0.4393, allocations: 6.109 kB / 0.7233 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4393, allocations: 1.031 kB / 0.7233 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.4394, allocations: 0.8438 kB / 0.7233 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4394, allocations: 7.984 kB / 0.7233 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.744e-05/0.4394, allocations: 139.7 kB / 0.7235 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4394, allocations: 0 / 0.7235 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.033e-06/0.4394, allocations: 5.375 kB / 0.7235 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4394, allocations: 0 / 0.7235 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.4394, allocations: 4.516 kB / 0.7235 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4394, allocations: 0 / 0.7235 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4394, allocations: 4 kB / 0.7235 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.4396, allocations: 231.8 kB / 0.7237 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.507e-06/0.4396, allocations: 10.89 kB / 0.7237 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.4396, allocations: 2.312 kB / 0.7237 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.4397, allocations: 7.047 kB / 0.7237 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.4397, allocations: 3.047 kB / 0.7237 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.4397, allocations: 5.875 kB / 0.7237 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.464e-05/0.4397, allocations: 91.41 kB / 0.7238 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4397, allocations: 0 / 0.7238 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002963/0.44, allocations: 73.45 kB / 0.7239 GB, free: 19.03 MB / 0.6355 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.0004668/0.4405, allocations: 0.8333 MB / 0.7247 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002167/0.4407, allocations: 226.9 kB / 0.7249 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4407, allocations: 3.938 kB / 0.7249 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.91e-05/0.4408, allocations: 147.4 kB / 0.7251 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.4409, allocations: 5.031 kB / 0.7251 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.4413, allocations: 252.7 kB / 0.7253 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.677e-05/0.4413, allocations: 73.47 kB / 0.7254 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.679e-06/0.4413, allocations: 0 / 0.7254 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.4414, allocations: 22.16 kB / 0.7254 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of SimCode: time 8.61e-07/0.4414, allocations: 1.188 kB / 0.7254 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.4624, allocations: 3.773 MB / 0.7291 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.672/7.134, allocations: 1.25 kB / 0.7291 GB, free: 16.77 MB / 0.6355 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 9.874892957974225] Failed to read output from testmodel.py, exit status != 0: 7.214495990076102 7.225253373 6.785913826 Calling exit ...