Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.0008682/0.0008682, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008597/0.0008597, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8707/0.8707, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.6911/0.6911, allocations: 154.6 MB / 414.5 MB, free: 0.7852 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: translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.13e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001676/0.001698, allocations: 1.443 MB / 0.6208 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.00275, allocations: 0.7946 MB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.757e-05/0.002778, allocations: 4 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 6.312e-05/0.002841, allocations: 0 / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.472e-05/0.002885, allocations: 11.88 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005007/0.003386, allocations: 178.1 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.003487, allocations: 43.91 kB / 0.6218 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.357e-05/0.00356, allocations: 8 kB / 0.6218 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.489e-05/0.003605, allocations: 27.97 kB / 0.6218 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.378e-05/0.003649, allocations: 11.92 kB / 0.6218 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.003663, allocations: 7.984 kB / 0.6218 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.003897, allocations: 207.7 kB / 0.622 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.383e-05/0.00394, allocations: 15.97 kB / 0.622 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.003967, allocations: 11.94 kB / 0.622 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.004201, allocations: 239.4 kB / 0.6223 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.004203, allocations: 0 / 0.6223 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.91e-07/0.004204, allocations: 0 / 0.6223 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.004208, allocations: 0 / 0.6223 GB, free: 10.16 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003794/0.004587, allocations: 357.4 kB / 0.6226 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.00462, allocations: 12.03 kB / 0.6226 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.004652, allocations: 4.891 kB / 0.6226 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.56e-05/0.004728, allocations: 117.6 kB / 0.6227 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.004739, allocations: 4.375 kB / 0.6227 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.004748, allocations: 384 / 0.6227 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.004896, allocations: 107.9 kB / 0.6228 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.004903, allocations: 192 / 0.6228 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.004911, allocations: 384 / 0.6228 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.004916, allocations: 3.938 kB / 0.6228 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.578e-05/0.004992, allocations: 85.66 kB / 0.6229 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.005261, allocations: 212.6 kB / 0.6231 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.468e-05/0.005346, allocations: 88.19 kB / 0.6232 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.704e-05/0.005403, allocations: 78.61 kB / 0.6233 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.005414, allocations: 0 / 0.6233 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.005435, allocations: 34.5 kB / 0.6233 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.005435, allocations: 0 / 0.6233 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002618/0.005697, allocations: 246.6 kB / 0.6236 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.00573, allocations: 89.12 kB / 0.6236 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.306e-05/0.005803, allocations: 125.1 kB / 0.6238 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.005815, allocations: 29.7 kB / 0.6238 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.005851, allocations: 92.11 kB / 0.6239 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.005864, allocations: 11.95 kB / 0.6239 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.005896, allocations: 17.72 kB / 0.6239 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.741e-05/0.005973, allocations: 318.8 kB / 0.6242 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.56e-05/0.006049, allocations: 111.4 kB / 0.6243 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.907e-05/0.006118, allocations: 119.4 kB / 0.6244 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.006249, allocations: 205.8 kB / 0.6246 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.006251, allocations: 4 kB / 0.6246 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001837/0.006434, allocations: 280.3 kB / 0.6249 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.467e-05/0.006469, allocations: 67.33 kB / 0.625 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.006473, allocations: 0 / 0.625 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.006483, allocations: 0 / 0.625 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.633e-05/0.006529, allocations: 4 kB / 0.625 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.006533, allocations: 0 / 0.625 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.404e-05/0.006557, allocations: 11.92 kB / 0.625 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.006567, allocations: 8.062 kB / 0.625 GB, free: 7.066 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: 1 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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.569e-05/0.006633, allocations: 152.5 kB / 0.6251 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.006649, allocations: 11.89 kB / 0.6251 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.756e-05/0.006667, allocations: 8 kB / 0.6252 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.006668, allocations: 240 / 0.6252 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.006672, allocations: 0 / 0.6252 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.006675, allocations: 0 / 0.6252 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.287e-05/0.006768, allocations: 121.3 kB / 0.6253 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.006769, allocations: 0 / 0.6253 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.307e-05/0.006782, allocations: 4 kB / 0.6253 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.006783, allocations: 0 / 0.6253 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.00679, allocations: 7.938 kB / 0.6253 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.006791, allocations: 0 / 0.6253 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.006791, allocations: 0 / 0.6253 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.006961, allocations: 282.8 kB / 0.6255 GB, free: 6.414 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-06/0.006967, allocations: 4 kB / 0.6256 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.006979, allocations: 7.875 kB / 0.6256 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.007013, allocations: 4 kB / 0.6256 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.007079, allocations: 11.98 kB / 0.6256 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.007083, allocations: 0 / 0.6256 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.633e-05/0.007119, allocations: 95.27 kB / 0.6257 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.007119, allocations: 4.031 kB / 0.6257 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002006/0.007319, allocations: 63.86 kB / 0.6257 GB, free: 6.227 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: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.000176/0.007495, allocations: 155.2 kB / 0.6259 GB, free: 6.062 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.007723, allocations: 319.8 kB / 0.6262 GB, free: 5.707 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.007724, allocations: 3.938 kB / 0.6262 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.377e-05/0.007798, allocations: 133.1 kB / 0.6263 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.007945, allocations: 4 kB / 0.6263 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.008241, allocations: 236.3 kB / 0.6265 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.794e-05/0.008289, allocations: 71.33 kB / 0.6266 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.008307, allocations: 12.5 kB / 0.6266 GB, free: 5.18 MB / 0.5886 GB Notification: Performance of SimCode: time 4.7e-07/0.008307, allocations: 0 / 0.6266 GB, free: 5.18 MB / 0.5886 GB Notification: Performance of Templates: time 0.002275/0.01058, allocations: 1.512 MB / 0.6281 GB, free: 3.676 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.117476379498839] Failed to read output from testmodel.py, exit status != 0: 0.014991412870585918 0.022944335 0.017145443 Calling exit ...