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.0008281/0.0008281, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008427/0.0008427, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9447/0.9447, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.742/0.742, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.716e-05, allocations: 6.219 kB / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002328/0.002356, allocations: 0.6226 MB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002678/0.005034, allocations: 1.435 MB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.31e-05/0.005087, allocations: 0 / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.769e-05/0.005185, allocations: 0 / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.73e-05/0.005242, allocations: 8 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.006714, allocations: 218.9 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.006842, allocations: 35.97 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 6.953e-05/0.006912, allocations: 7.922 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.151e-05/0.006973, allocations: 15.98 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.197e-05/0.007045, allocations: 19.97 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.007063, allocations: 4 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005922/0.007656, allocations: 271.5 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.297e-05/0.007729, allocations: 4 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.957e-05/0.007788, allocations: 11.94 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005996/0.008388, allocations: 267.4 kB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.008395, allocations: 0 / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.224e-06/0.008397, allocations: 0 / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.008404, allocations: 0 / 0.621 GB, free: 10.68 MB / 0.5886 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.0005764/0.00898, allocations: 325.9 kB / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.965e-05/0.00905, allocations: 11.97 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.694e-05/0.009107, allocations: 38.75 kB / 0.6214 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.009159, allocations: 8.891 kB / 0.6214 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.009305, allocations: 113.7 kB / 0.6215 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.009323, allocations: 4.375 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.009335, allocations: 384 / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.009551, allocations: 103.9 kB / 0.6216 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.00956, allocations: 192 / 0.6216 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.009579, allocations: 12.06 kB / 0.6216 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.009587, allocations: 0 / 0.6216 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.009693, allocations: 73.61 kB / 0.6217 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.009879, allocations: 128.8 kB / 0.6218 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.01005, allocations: 84.25 kB / 0.6219 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.186e-05/0.01014, allocations: 70.56 kB / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.01015, allocations: 0 / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.01019, allocations: 30.56 kB / 0.622 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.01019, allocations: 0 / 0.622 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0004672/0.01066, allocations: 262.5 kB / 0.6222 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.01071, allocations: 81.11 kB / 0.6223 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.01082, allocations: 114 kB / 0.6224 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.01084, allocations: 25.7 kB / 0.6224 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.01089, allocations: 92.12 kB / 0.6225 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/0.01094, allocations: 19.8 kB / 0.6225 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.01099, allocations: 29.73 kB / 0.6226 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.01111, allocations: 314.8 kB / 0.6229 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.433e-05/0.0112, allocations: 65.67 kB / 0.6229 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.287e-05/0.01127, allocations: 65.67 kB / 0.623 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.01143, allocations: 148.8 kB / 0.6231 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.01144, allocations: 0 / 0.6231 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002343/0.01167, allocations: 189 kB / 0.6233 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.212e-05/0.01172, allocations: 40.05 kB / 0.6233 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.01173, allocations: 0 / 0.6233 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.01175, allocations: 3.938 kB / 0.6233 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/0.01175, allocations: 4.062 kB / 0.6233 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.01176, allocations: 3.984 kB / 0.6233 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.01197, allocations: 4 kB / 0.6234 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.01199, allocations: 11.94 kB / 0.6234 GB, free: 7.969 MB / 0.5886 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.0001188/0.01211, allocations: 148.5 kB / 0.6235 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.01214, allocations: 15.92 kB / 0.6235 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.01216, allocations: 8.438 kB / 0.6235 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.01216, allocations: 3.938 kB / 0.6235 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.01217, allocations: 0 / 0.6235 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01217, allocations: 0 / 0.6235 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.0123, allocations: 132.8 kB / 0.6237 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.0123, allocations: 0 / 0.6237 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-06/0.0123, allocations: 0 / 0.6237 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.01231, allocations: 4 kB / 0.6237 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.01232, allocations: 7.984 kB / 0.6237 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.01233, allocations: 7.875 kB / 0.6237 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01233, allocations: 0 / 0.6237 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.01259, allocations: 232.4 kB / 0.6239 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.01261, allocations: 4 kB / 0.6239 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.01263, allocations: 4 kB / 0.6239 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.899e-05/0.01268, allocations: 11.92 kB / 0.6239 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.0127, allocations: 12.03 kB / 0.6239 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.01272, allocations: 4 kB / 0.6239 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.413e-05/0.01277, allocations: 95.25 kB / 0.624 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01277, allocations: 0 / 0.624 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004171/0.01319, allocations: 75.86 kB / 0.6241 GB, free: 7.125 MB / 0.5886 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.0009069/0.0141, allocations: 0.8303 MB / 0.6249 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002876/0.01438, allocations: 222.7 kB / 0.6251 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.01439, allocations: 0 / 0.6251 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.0145, allocations: 149 kB / 0.6253 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.01471, allocations: 12.09 kB / 0.6253 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000616/0.01533, allocations: 256.1 kB / 0.6255 GB, free: 5.539 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.611e-05/0.0154, allocations: 75.27 kB / 0.6256 GB, free: 5.445 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.534e-06/0.01541, allocations: 0 / 0.6256 GB, free: 5.445 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.01545, allocations: 12.5 kB / 0.6256 GB, free: 5.43 MB / 0.5886 GB Notification: Performance of SimCode: time 1.072e-06/0.01546, allocations: 0 / 0.6256 GB, free: 5.43 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.04634, allocations: 3.791 MB / 0.6293 GB, free: 1.797 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.813/6.86, allocations: 12.83 kB / 0.6293 GB, free: 1.793 MB / 0.5886 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.762622877955437] Failed to read output from testmodel.py, exit status != 0: 6.940770983695984 6.951999483 6.941370941 Calling exit ...