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.0007866/0.0007866, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001027/0.001814, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009526/0.0009526, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009181/0.001871, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9157/0.9157, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08255/0.9983, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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-545:108: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-545:116: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.7243/0.7243, allocations: 154.6 MB / 398.5 MB, free: 0.5352 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.231/0.9553, allocations: 49.04 MB / 447.6 MB, free: 6.668 MB / 426.7 MB " [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 2.916e-06/2.916e-06, allocations: 4 kB / 448.9 MB, free: 5.367 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.413e-05, allocations: 2.312 kB / 448.9 MB, free: 5.363 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002754/0.002778, allocations: 1.532 MB / 450.4 MB, free: 3.863 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.004097, allocations: 0.8174 MB / 451.2 MB, free: 3.047 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.226e-05/0.00413, allocations: 0 / 451.2 MB, free: 3.047 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.544e-05/0.004195, allocations: 7.922 kB / 451.3 MB, free: 3.039 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.783e-05/0.004233, allocations: 2.547 kB / 451.3 MB, free: 3.039 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.004655, allocations: 157.6 kB / 451.4 MB, free: 2.887 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.004769, allocations: 43.38 kB / 451.5 MB, free: 2.852 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.338e-05/0.004832, allocations: 8.641 kB / 451.5 MB, free: 2.844 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.642e-05/0.004888, allocations: 26.41 kB / 451.5 MB, free: 2.82 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.704e-05/0.004935, allocations: 17.5 kB / 451.5 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.004946, allocations: 5.25 kB / 451.5 MB, free: 2.801 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003056/0.005252, allocations: 233.2 kB / 451.7 MB, free: 2.574 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.005294, allocations: 11.3 kB / 451.7 MB, free: 2.566 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.785e-05/0.005322, allocations: 17.34 kB / 451.8 MB, free: 2.551 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.005534, allocations: 173.2 kB / 451.9 MB, free: 2.387 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-05/0.005551, allocations: 0 / 451.9 MB, free: 2.387 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.005552, allocations: 0 / 451.9 MB, free: 2.387 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.005567, allocations: 0 / 451.9 MB, free: 2.387 MB / 426.7 MB 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.0004132/0.005981, allocations: 350.6 kB / 452.3 MB, free: 2.012 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.00601, allocations: 8.594 kB / 452.3 MB, free: 2.004 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.006042, allocations: 8.922 kB / 452.3 MB, free: 1.996 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.637e-05/0.006118, allocations: 116.7 kB / 452.4 MB, free: 1.859 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.006128, allocations: 1.031 kB / 452.4 MB, free: 1.859 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.006135, allocations: 9.75 kB / 452.4 MB, free: 1.852 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.006259, allocations: 102.4 kB / 452.5 MB, free: 1.738 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.006265, allocations: 192 / 452.5 MB, free: 1.738 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.006274, allocations: 5.438 kB / 452.5 MB, free: 1.734 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.006279, allocations: 3.938 kB / 452.5 MB, free: 1.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.564e-05/0.006315, allocations: 46.45 kB / 452.6 MB, free: 1.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.006525, allocations: 153.5 kB / 452.7 MB, free: 1.516 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.033e-05/0.006585, allocations: 64.25 kB / 452.8 MB, free: 1.438 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/0.00662, allocations: 54.62 kB / 452.8 MB, free: 1.375 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.006629, allocations: 0.5625 kB / 452.8 MB, free: 1.375 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.006653, allocations: 40.22 kB / 452.9 MB, free: 1.328 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.006654, allocations: 0 / 452.9 MB, free: 1.328 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001777/0.006832, allocations: 180.6 kB / 453.1 MB, free: 1.129 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.006857, allocations: 55.34 kB / 453.1 MB, free: 1.062 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.253e-05/0.00693, allocations: 123.9 kB / 453.2 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.00694, allocations: 29.7 kB / 453.3 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.006975, allocations: 92.11 kB / 453.3 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.006987, allocations: 7.891 kB / 453.4 MB, free: 0.793 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.007021, allocations: 22.31 kB / 453.4 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.243e-05/0.007093, allocations: 324.1 kB / 453.7 MB, free: 452 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.704e-05/0.00715, allocations: 82.22 kB / 453.8 MB, free: 356 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.32e-05/0.007194, allocations: 79.39 kB / 453.9 MB, free: 264 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.229e-05/0.007276, allocations: 144.8 kB / 454 MB, free: 96 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.007279, allocations: 5.562 kB / 454 MB, free: 92 kB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001198/0.007399, allocations: 196.5 kB / 454.2 MB, free: 15.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/0.007438, allocations: 67.34 kB / 454.3 MB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.007442, allocations: 0 / 454.3 MB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.007451, allocations: 7.141 kB / 454.3 MB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.324e-05/0.007504, allocations: 7.984 kB / 454.3 MB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.007507, allocations: 0 / 454.3 MB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.007528, allocations: 4 kB / 454.3 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.007535, allocations: 0 / 454.3 MB, free: 15.77 MB / 442.7 MB 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.476e-05/0.0076, allocations: 143.3 kB / 454.4 MB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.007616, allocations: 7.984 kB / 454.4 MB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.742e-05/0.007634, allocations: 8.875 kB / 454.4 MB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.007636, allocations: 3.938 kB / 454.4 MB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.007637, allocations: 0.9062 kB / 454.4 MB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.00764, allocations: 0 / 454.4 MB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.406e-05/0.007724, allocations: 77.83 kB / 454.5 MB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.007725, allocations: 0.625 kB / 454.5 MB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.523e-05/0.00774, allocations: 4.625 kB / 454.5 MB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-06/0.007746, allocations: 4 kB / 454.5 MB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.007748, allocations: 4.609 kB / 454.5 MB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.007754, allocations: 2.125 kB / 454.5 MB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.007755, allocations: 3.938 kB / 454.5 MB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.007756, allocations: 0.625 kB / 454.5 MB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.007887, allocations: 230.9 kB / 454.8 MB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.007899, allocations: 0.625 kB / 454.8 MB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.953e-05/0.007929, allocations: 4.562 kB / 454.8 MB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.007974, allocations: 15.92 kB / 454.8 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.007978, allocations: 0.6875 kB / 454.8 MB, free: 15.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.848e-05/0.007996, allocations: 25.62 kB / 454.8 MB, free: 15.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007996, allocations: 0 / 454.8 MB, free: 15.19 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000202/0.008198, allocations: 59.86 kB / 454.9 MB, free: 15.13 MB / 442.7 MB 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.0001887/0.008387, allocations: 145.1 kB / 455 MB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.008556, allocations: 260.7 kB / 455.3 MB, free: 14.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.00856, allocations: 0.875 kB / 455.3 MB, free: 14.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.445e-05/0.008614, allocations: 116.7 kB / 455.4 MB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001084/0.008723, allocations: 12.62 kB / 455.4 MB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.009094, allocations: 186 kB / 455.6 MB, free: 14.32 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.265e-05/0.009127, allocations: 63.34 kB / 455.6 MB, free: 14.24 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.699e-05/0.009144, allocations: 0.5938 kB / 455.6 MB, free: 14.24 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/0.009198, allocations: 60.58 kB / 455.7 MB, free: 14.18 MB / 442.7 MB Notification: Performance of SimCode: time 6.41e-07/0.009199, allocations: 0 / 455.7 MB, free: 14.18 MB / 442.7 MB Notification: Performance of Templates: time 0.003426/0.01262, allocations: 1.987 MB / 457.7 MB, free: 12.34 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2832663860172033]