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.00127/0.00127, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001416/0.001416, allocations: 173 kB / 23.35 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.9376/0.9376, 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.7987/0.7987, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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.203e-06/1.203e-06, allocations: 0 / 480 MB, free: 6.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.218e-05, allocations: 5.219 kB / 480 MB, free: 6.926 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001879/0.001901, allocations: 1.485 MB / 481.5 MB, free: 5.461 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.002985, allocations: 0.8226 MB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/0.003012, allocations: 0 / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 6.35e-05/0.003075, allocations: 0 / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.434e-05/0.00313, allocations: 5.469 kB / 482.3 MB, free: 4.641 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/0.003596, allocations: 182.4 kB / 482.5 MB, free: 4.465 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.601e-05/0.003682, allocations: 43.88 kB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.832e-05/0.00374, allocations: 7.984 kB / 482.6 MB, free: 4.418 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.003784, allocations: 21.66 kB / 482.6 MB, free: 4.398 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.807e-05/0.003832, allocations: 17.88 kB / 482.6 MB, free: 4.383 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.003845, allocations: 4.766 kB / 482.6 MB, free: 4.379 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.004091, allocations: 216.6 kB / 482.8 MB, free: 4.168 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.671e-05/0.004128, allocations: 10.95 kB / 482.8 MB, free: 4.16 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.423e-05/0.004152, allocations: 13.95 kB / 482.8 MB, free: 4.148 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.00436, allocations: 223 kB / 483.1 MB, free: 3.934 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.004361, allocations: 0 / 483.1 MB, free: 3.934 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004362, allocations: 0.75 kB / 483.1 MB, free: 3.934 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.004365, allocations: 0 / 483.1 MB, free: 3.934 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.0003829/0.004748, allocations: 332.5 kB / 483.4 MB, free: 3.578 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.004778, allocations: 13.25 kB / 483.4 MB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.004805, allocations: 8.922 kB / 483.4 MB, free: 3.559 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.705e-05/0.004872, allocations: 114.6 kB / 483.5 MB, free: 3.422 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-06/0.004879, allocations: 1.438 kB / 483.5 MB, free: 3.422 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.004889, allocations: 4.375 kB / 483.5 MB, free: 3.418 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.005003, allocations: 97.48 kB / 483.6 MB, free: 3.309 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.005009, allocations: 1.344 kB / 483.6 MB, free: 3.309 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.005021, allocations: 4.375 kB / 483.6 MB, free: 3.305 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.005026, allocations: 7.875 kB / 483.6 MB, free: 3.297 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.256e-05/0.005059, allocations: 48.86 kB / 483.7 MB, free: 3.246 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.005256, allocations: 161.8 kB / 483.8 MB, free: 3.074 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.534e-05/0.005321, allocations: 64.31 kB / 483.9 MB, free: 2.996 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.346e-05/0.005354, allocations: 50.62 kB / 483.9 MB, free: 2.938 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.005366, allocations: 4 kB / 483.9 MB, free: 2.934 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.005389, allocations: 35.78 kB / 484 MB, free: 2.891 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.00539, allocations: 0 / 484 MB, free: 2.891 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001684/0.005558, allocations: 174.7 kB / 484.2 MB, free: 2.695 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.005589, allocations: 85.75 kB / 484.2 MB, free: 2.594 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.004e-05/0.005649, allocations: 122.6 kB / 484.4 MB, free: 2.461 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.689e-06/0.005659, allocations: 26.61 kB / 484.4 MB, free: 2.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.59e-05/0.005684, allocations: 88.12 kB / 484.5 MB, free: 2.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.158e-05/0.005696, allocations: 7.891 kB / 484.5 MB, free: 2.332 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.005724, allocations: 22.58 kB / 484.5 MB, free: 2.305 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.005907, allocations: 314.8 kB / 484.8 MB, free: 1.988 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.03e-05/0.005957, allocations: 83.12 kB / 484.9 MB, free: 1.895 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.604e-05/0.006003, allocations: 83.38 kB / 485 MB, free: 1.801 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.837e-05/0.006081, allocations: 141.4 kB / 485.1 MB, free: 1.641 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.006085, allocations: 4 kB / 485.1 MB, free: 1.637 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001128/0.006198, allocations: 193.1 kB / 485.3 MB, free: 1.418 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.006232, allocations: 63.41 kB / 485.4 MB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.006235, allocations: 0.625 kB / 485.4 MB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.006247, allocations: 12.55 kB / 485.4 MB, free: 1.332 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.932e-05/0.006286, allocations: 0 / 485.4 MB, free: 1.332 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-06/0.006289, allocations: 0.625 kB / 485.4 MB, free: 1.332 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.998e-05/0.006309, allocations: 8.578 kB / 485.4 MB, free: 1.324 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.006317, allocations: 4 kB / 485.4 MB, free: 1.32 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.464e-05/0.006382, allocations: 150.8 kB / 485.5 MB, free: 1.156 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.006396, allocations: 4.719 kB / 485.5 MB, free: 1.152 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.566e-05/0.006412, allocations: 8 kB / 485.5 MB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.006415, allocations: 9.719 kB / 485.6 MB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.006416, allocations: 0 / 485.6 MB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.006418, allocations: 3.938 kB / 485.6 MB, free: 1.129 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.452e-05/0.006493, allocations: 69.89 kB / 485.6 MB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.006494, allocations: 1.438 kB / 485.6 MB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.025e-05/0.006504, allocations: 0 / 485.6 MB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.006505, allocations: 3.938 kB / 485.6 MB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.006513, allocations: 7.984 kB / 485.6 MB, free: 1.035 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.006513, allocations: 0.8438 kB / 485.6 MB, free: 1.035 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.006514, allocations: 0 / 485.6 MB, free: 1.035 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.006634, allocations: 232.1 kB / 485.9 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.006641, allocations: 7.984 kB / 485.9 MB, free: 0.7734 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.006651, allocations: 0 / 485.9 MB, free: 0.7734 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.89e-05/0.00668, allocations: 4 kB / 485.9 MB, free: 0.7695 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.006721, allocations: 20.89 kB / 485.9 MB, free: 0.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.006724, allocations: 0 / 485.9 MB, free: 0.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.581e-05/0.00674, allocations: 13.39 kB / 485.9 MB, free: 0.7344 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00674, allocations: 0 / 485.9 MB, free: 0.7344 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001851/0.006925, allocations: 60.95 kB / 486 MB, free: 0.6758 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.0001687/0.007094, allocations: 145.3 kB / 486.1 MB, free: 0.5273 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001624/0.007256, allocations: 256.7 kB / 486.4 MB, free: 236 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.007259, allocations: 2.344 kB / 486.4 MB, free: 236 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.457e-05/0.007313, allocations: 112.8 kB / 486.5 MB, free: 100 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001001/0.007413, allocations: 8 kB / 486.5 MB, free: 92 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002452/0.007658, allocations: 190.7 kB / 486.7 MB, free: 15.87 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.139e-05/0.00769, allocations: 59.34 kB / 486.7 MB, free: 15.79 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.245e-05/0.007702, allocations: 1.5 kB / 486.7 MB, free: 15.79 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/0.007749, allocations: 59.38 kB / 486.8 MB, free: 15.73 MB / 458.7 MB Notification: Performance of SimCode: time 5.91e-07/0.00775, allocations: 0 / 486.8 MB, free: 15.73 MB / 458.7 MB Notification: Performance of Templates: time 0.003332/0.01108, allocations: 1.986 MB / 488.8 MB, free: 13.89 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4782060589641333]