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.0008834/0.0008834, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009789/0.0009789, allocations: 181 kB / 23.36 MB, free: 1.133 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.935/0.935, allocations: 177.1 MB / 203.8 MB, free: 5.48 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-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.8146/0.8146, allocations: 154.6 MB / 414.8 MB, free: 488 kB / 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.403e-06/1.403e-06, allocations: 0.7656 kB / 480.1 MB, free: 6.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.602e-05, allocations: 2.312 kB / 480.1 MB, free: 6.816 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002901/0.002927, allocations: 1.535 MB / 481.6 MB, free: 5.309 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.004355, allocations: 0.8098 MB / 482.4 MB, free: 4.504 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.287e-05/0.004388, allocations: 0.625 kB / 482.4 MB, free: 4.504 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 6.746e-05/0.004455, allocations: 11.06 kB / 482.4 MB, free: 4.496 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.777e-05/0.004513, allocations: 4.75 kB / 482.4 MB, free: 4.492 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000619/0.005132, allocations: 152.2 kB / 482.6 MB, free: 4.344 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.005255, allocations: 52.73 kB / 482.6 MB, free: 4.297 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.613e-05/0.005321, allocations: 4 kB / 482.6 MB, free: 4.293 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.79e-05/0.005379, allocations: 21.16 kB / 482.6 MB, free: 4.273 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.556e-05/0.005434, allocations: 14.06 kB / 482.7 MB, free: 4.262 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.00545, allocations: 4.906 kB / 482.7 MB, free: 4.258 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004343/0.005884, allocations: 245.2 kB / 482.9 MB, free: 4.02 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.005929, allocations: 14.06 kB / 482.9 MB, free: 4.008 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.00596, allocations: 9.969 kB / 482.9 MB, free: 4 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.006284, allocations: 219.1 kB / 483.1 MB, free: 3.789 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.006287, allocations: 7.938 kB / 483.2 MB, free: 3.781 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.006288, allocations: 0 / 483.2 MB, free: 3.781 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.006291, allocations: 0.625 kB / 483.2 MB, free: 3.781 MB / 442.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.0003943/0.006686, allocations: 331.8 kB / 483.5 MB, free: 3.426 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.006721, allocations: 12.03 kB / 483.5 MB, free: 3.414 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.006753, allocations: 1.562 kB / 483.5 MB, free: 3.414 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.006853, allocations: 122.2 kB / 483.6 MB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.006866, allocations: 384 / 483.6 MB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.006877, allocations: 5 kB / 483.6 MB, free: 3.266 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.007029, allocations: 97.23 kB / 483.7 MB, free: 3.156 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.007037, allocations: 0.8125 kB / 483.7 MB, free: 3.156 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.007047, allocations: 9.281 kB / 483.7 MB, free: 3.148 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.007055, allocations: 4.453 kB / 483.7 MB, free: 3.145 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.284e-05/0.007108, allocations: 41.69 kB / 483.8 MB, free: 3.098 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.007357, allocations: 161.7 kB / 483.9 MB, free: 2.926 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.716e-05/0.007434, allocations: 65.06 kB / 484 MB, free: 2.848 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.056e-05/0.007484, allocations: 54.62 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.007494, allocations: 0.9062 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.007521, allocations: 38.56 kB / 484.1 MB, free: 2.738 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.007523, allocations: 1 kB / 484.1 MB, free: 2.738 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002275/0.00775, allocations: 182.6 kB / 484.3 MB, free: 2.539 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.007784, allocations: 77.11 kB / 484.3 MB, free: 2.445 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.03e-05/0.007874, allocations: 127.3 kB / 484.5 MB, free: 2.309 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.007887, allocations: 25.7 kB / 484.5 MB, free: 2.277 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.007933, allocations: 97.36 kB / 484.6 MB, free: 2.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.007949, allocations: 7.891 kB / 484.6 MB, free: 2.172 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.007994, allocations: 21.7 kB / 484.6 MB, free: 2.145 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.834e-05/0.008082, allocations: 315.5 kB / 484.9 MB, free: 1.828 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.197e-05/0.008154, allocations: 82.22 kB / 485 MB, free: 1.734 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.798e-05/0.008212, allocations: 80.61 kB / 485.1 MB, free: 1.645 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.00833, allocations: 140.8 kB / 485.2 MB, free: 1.484 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.008332, allocations: 0 / 485.2 MB, free: 1.484 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001674/0.008499, allocations: 197.5 kB / 485.4 MB, free: 1.262 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.786e-05/0.008547, allocations: 67.39 kB / 485.5 MB, free: 1.184 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.008552, allocations: 0 / 485.5 MB, free: 1.184 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.008565, allocations: 4.844 kB / 485.5 MB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.867e-05/0.008614, allocations: 4 kB / 485.5 MB, free: 1.176 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.008617, allocations: 0.7188 kB / 485.5 MB, free: 1.176 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.301e-05/0.00865, allocations: 7.953 kB / 485.5 MB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.008661, allocations: 4.594 kB / 485.5 MB, free: 1.164 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 9.042e-05/0.008751, allocations: 143.8 kB / 485.6 MB, free: 1.008 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.008771, allocations: 4 kB / 485.6 MB, free: 1.004 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.77e-05/0.008789, allocations: 8 kB / 485.6 MB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.008792, allocations: 3.938 kB / 485.6 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.008794, allocations: 4.766 kB / 485.7 MB, free: 0.9883 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.008796, allocations: 4 kB / 485.7 MB, free: 0.9844 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.226e-05/0.008879, allocations: 71.88 kB / 485.7 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.00888, allocations: 0 / 485.7 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.551e-05/0.008895, allocations: 4 kB / 485.7 MB, free: 0.8945 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.008897, allocations: 0 / 485.7 MB, free: 0.8945 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.008904, allocations: 4 kB / 485.7 MB, free: 0.8906 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.008906, allocations: 4.719 kB / 485.7 MB, free: 0.8867 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008906, allocations: 0 / 485.7 MB, free: 0.8867 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.009031, allocations: 235.5 kB / 486 MB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-06/0.009038, allocations: 4 kB / 486 MB, free: 0.625 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.009048, allocations: 0.5 kB / 486 MB, free: 0.625 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.645e-05/0.009085, allocations: 8.578 kB / 486 MB, free: 0.6172 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.009126, allocations: 13.16 kB / 486 MB, free: 0.6055 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.00913, allocations: 0 / 486 MB, free: 0.6055 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.663e-05/0.009147, allocations: 20.78 kB / 486 MB, free: 0.582 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009147, allocations: 0 / 486 MB, free: 0.582 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000183/0.00933, allocations: 60.81 kB / 486.1 MB, free: 0.5234 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.0001792/0.009509, allocations: 141.7 kB / 486.2 MB, free: 388 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.009678, allocations: 264.7 kB / 486.5 MB, free: 76 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.00968, allocations: 0 / 486.5 MB, free: 76 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.17e-05/0.009752, allocations: 121.6 kB / 486.6 MB, free: 15.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/0.009869, allocations: 4 kB / 486.6 MB, free: 15.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002339/0.0101, allocations: 181.3 kB / 486.8 MB, free: 15.72 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.216e-05/0.01013, allocations: 59.34 kB / 486.8 MB, free: 15.64 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.631e-05/0.01015, allocations: 0 / 486.8 MB, free: 15.64 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.123e-05/0.0102, allocations: 63.36 kB / 486.9 MB, free: 15.58 MB / 458.7 MB Notification: Performance of SimCode: time 5.91e-07/0.0102, allocations: 0 / 486.9 MB, free: 15.58 MB / 458.7 MB Notification: Performance of Templates: time 0.003183/0.01339, allocations: 1.985 MB / 488.9 MB, free: 13.75 MB / 458.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.349360443186015]