Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008437/0.0008437, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001013/0.001013, allocations: 208.1 kB / 22.25 MB, free: 3.574 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 0.9755/0.9755, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7809/0.7809, allocations: 203.8 MB / 0.5042 GB, free: 10.49 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="IDEAS_dev_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.0008887/0.0008887, allocations: 71.42 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5016/0.5025, allocations: 102 MB / 0.8178 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001252/0.5037, allocations: 0.6097 MB / 0.8184 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.5052, allocations: 1.433 MB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.5052, allocations: 3.938 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.521e-05/0.5053, allocations: 7.891 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.855e-05/0.5053, allocations: 4.609 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.5059, allocations: 218.1 kB / 0.8201 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.792e-05/0.506, allocations: 32.8 kB / 0.8201 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.506, allocations: 4.438 kB / 0.8201 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.729e-05/0.506, allocations: 14.28 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.565e-05/0.5061, allocations: 26.97 kB / 0.8201 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.5061, allocations: 6.688 kB / 0.8201 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003567/0.5065, allocations: 258.9 kB / 0.8204 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4e-05/0.5065, allocations: 12.72 kB / 0.8204 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.5065, allocations: 16.88 kB / 0.8204 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.5068, allocations: 208.9 kB / 0.8206 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.5068, allocations: 3.938 kB / 0.8206 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5068, allocations: 0 / 0.8206 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.5068, allocations: 0 / 0.8206 GB, free: 15.45 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.0003369/0.5071, allocations: 330.3 kB / 0.8209 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.5072, allocations: 8.781 kB / 0.8209 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.797e-05/0.5072, allocations: 39.14 kB / 0.821 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.5072, allocations: 11.97 kB / 0.821 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.21e-05/0.5073, allocations: 114.2 kB / 0.8211 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.5073, allocations: 3.375 kB / 0.8211 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.5073, allocations: 2 kB / 0.8211 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.5075, allocations: 112.5 kB / 0.8212 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.5075, allocations: 0 / 0.8212 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.5075, allocations: 1.125 kB / 0.8212 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.5075, allocations: 0 / 0.8212 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.653e-05/0.5076, allocations: 71.34 kB / 0.8213 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.5077, allocations: 135.2 kB / 0.8214 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.205e-05/0.5077, allocations: 85.98 kB / 0.8215 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.15e-05/0.5078, allocations: 74.12 kB / 0.8216 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-06/0.5078, allocations: 1.094 kB / 0.8216 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.5078, allocations: 35.62 kB / 0.8216 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.5078, allocations: 0.9375 kB / 0.8216 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002637/0.5081, allocations: 255.6 kB / 0.8218 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.5081, allocations: 88.42 kB / 0.8219 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.974e-05/0.5082, allocations: 111.3 kB / 0.822 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.5082, allocations: 25.7 kB / 0.8221 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.5082, allocations: 90.81 kB / 0.8221 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.5083, allocations: 24.91 kB / 0.8222 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.5083, allocations: 24.86 kB / 0.8222 GB, free: 14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.051e-05/0.5084, allocations: 321.6 kB / 0.8225 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.427e-05/0.5084, allocations: 64.62 kB / 0.8226 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.603e-05/0.5085, allocations: 63.67 kB / 0.8226 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.5086, allocations: 149 kB / 0.8228 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5086, allocations: 1.281 kB / 0.8228 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001397/0.5087, allocations: 190.2 kB / 0.8229 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.5088, allocations: 35.5 kB / 0.823 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5088, allocations: 1.094 kB / 0.823 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.5088, allocations: 0 / 0.823 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.174e-06/0.5088, allocations: 5.516 kB / 0.823 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.5088, allocations: 0 / 0.823 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.456e-05/0.5089, allocations: 12.92 kB / 0.823 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.5089, allocations: 5.062 kB / 0.823 GB, free: 13.36 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 7.07e-05/0.509, allocations: 149.4 kB / 0.8231 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-06/0.509, allocations: 9.062 kB / 0.8232 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.09e-05/0.509, allocations: 6.25 kB / 0.8232 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.509, allocations: 1.828 kB / 0.8232 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.509, allocations: 0 / 0.8232 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.509, allocations: 0 / 0.8232 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.197e-05/0.5091, allocations: 143.3 kB / 0.8233 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.5091, allocations: 0 / 0.8233 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-06/0.5091, allocations: 5.781 kB / 0.8233 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.5091, allocations: 0 / 0.8233 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.5091, allocations: 4.156 kB / 0.8233 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.5091, allocations: 0.6562 kB / 0.8233 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-07/0.5091, allocations: 0 / 0.8233 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.5093, allocations: 232.2 kB / 0.8235 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.787e-06/0.5093, allocations: 14.52 kB / 0.8235 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.5093, allocations: 3.031 kB / 0.8235 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.345e-05/0.5093, allocations: 8.75 kB / 0.8236 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.5093, allocations: 4.969 kB / 0.8236 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.5093, allocations: 6.984 kB / 0.8236 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.483e-05/0.5094, allocations: 94.58 kB / 0.8237 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5094, allocations: 0 / 0.8237 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002026/0.5096, allocations: 77.23 kB / 0.8237 GB, free: 12.77 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.0004838/0.5101, allocations: 0.8205 MB / 0.8245 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003772/0.5104, allocations: 231.2 kB / 0.8248 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5104, allocations: 0.75 kB / 0.8248 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.422e-05/0.5105, allocations: 147.2 kB / 0.8249 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001139/0.5106, allocations: 14.06 kB / 0.8249 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.511, allocations: 251.7 kB / 0.8251 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.97e-05/0.511, allocations: 73.48 kB / 0.8252 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.23e-06/0.5111, allocations: 0.7969 kB / 0.8252 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.5111, allocations: 11.95 kB / 0.8252 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.5111, allocations: 1.344 kB / 0.8252 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.5268, allocations: 3.662 MB / 0.8288 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.562/7.088, allocations: 11.84 kB / 0.8288 GB, free: 10.55 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.023517364170402] Failed to read output from testmodel.py, exit status != 0: 7.166236719116569 7.178003103 6.669265341 Calling exit ...