Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 190.8 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 207.6 MB / 232.8 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3098/0.3098, allocations: 55.67 MB / 340.7 MB, free: 13.99 MB / 286.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 71.89 kB / 482.1 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4955/0.4977, allocations: 62.87 MB / 0.5322 GB, free: 7.914 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00328/0.501, allocations: 1.424 MB / 0.5336 GB, free: 6.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.5027, allocations: 0.8102 MB / 0.5343 GB, free: 6.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.2e-05/0.5027, allocations: 0 / 0.5343 GB, free: 6.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.911e-05/0.5028, allocations: 2.562 kB / 0.5343 GB, free: 6.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.615e-05/0.5029, allocations: 5.562 kB / 0.5344 GB, free: 6.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000834/0.5037, allocations: 181.3 kB / 0.5345 GB, free: 6.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.5039, allocations: 49.03 kB / 0.5346 GB, free: 6.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.504, allocations: 7.672 kB / 0.5346 GB, free: 6.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.996e-05/0.504, allocations: 20.41 kB / 0.5346 GB, free: 6.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.437e-05/0.5041, allocations: 16.36 kB / 0.5346 GB, free: 6.277 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.5041, allocations: 2.812 kB / 0.5346 GB, free: 6.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000558/0.5047, allocations: 223.9 kB / 0.5348 GB, free: 6.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.766e-05/0.5047, allocations: 9.516 kB / 0.5348 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.068e-05/0.5048, allocations: 22.09 kB / 0.5349 GB, free: 6.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004348/0.5052, allocations: 187.1 kB / 0.535 GB, free: 6.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.5052, allocations: 0.7969 kB / 0.535 GB, free: 6.152 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.5052, allocations: 0 / 0.535 GB, free: 6.152 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.5052, allocations: 4 kB / 0.535 GB, free: 6.148 MB / 398.1 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.0005746/0.5058, allocations: 357.6 kB / 0.5354 GB, free: 5.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.5059, allocations: 9.219 kB / 0.5354 GB, free: 5.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.5059, allocations: 8.969 kB / 0.5354 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.229e-05/0.506, allocations: 123.1 kB / 0.5355 GB, free: 5.648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.506, allocations: 5.531 kB / 0.5355 GB, free: 5.645 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.506, allocations: 7.375 kB / 0.5355 GB, free: 5.641 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.5062, allocations: 76.23 kB / 0.5356 GB, free: 5.598 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.5062, allocations: 4.703 kB / 0.5356 GB, free: 5.594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.5063, allocations: 1.125 kB / 0.5356 GB, free: 5.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.5063, allocations: 1.156 kB / 0.5356 GB, free: 5.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.5064, allocations: 45.64 kB / 0.5357 GB, free: 5.586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.5068, allocations: 249.3 kB / 0.5359 GB, free: 5.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.5069, allocations: 58.95 kB / 0.5359 GB, free: 5.301 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.507, allocations: 49.61 kB / 0.536 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.507, allocations: 0 / 0.536 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.507, allocations: 32.27 kB / 0.536 GB, free: 5.242 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.507, allocations: 0 / 0.536 GB, free: 5.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.000451/0.5075, allocations: 192 kB / 0.5362 GB, free: 5.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.5075, allocations: 79.08 kB / 0.5363 GB, free: 5.051 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.5076, allocations: 129.5 kB / 0.5364 GB, free: 4.941 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.5076, allocations: 27.44 kB / 0.5364 GB, free: 4.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.5077, allocations: 87.77 kB / 0.5365 GB, free: 4.824 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.5077, allocations: 5.859 kB / 0.5365 GB, free: 4.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.505e-05/0.5078, allocations: 22.23 kB / 0.5365 GB, free: 4.801 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.329e-05/0.5078, allocations: 326.1 kB / 0.5369 GB, free: 4.477 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.5079, allocations: 58.45 kB / 0.5369 GB, free: 4.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.508, allocations: 54.14 kB / 0.537 GB, free: 4.457 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.5083, allocations: 198.3 kB / 0.5372 GB, free: 4.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5083, allocations: 0 / 0.5372 GB, free: 4.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003445/0.5087, allocations: 221.9 kB / 0.5374 GB, free: 4.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.339e-05/0.5087, allocations: 61.17 kB / 0.5374 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5087, allocations: 5.844 kB / 0.5374 GB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.5087, allocations: 0 / 0.5374 GB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.803e-05/0.5088, allocations: 8.609 kB / 0.5374 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.5088, allocations: 0 / 0.5374 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.257e-05/0.5089, allocations: 8.203 kB / 0.5374 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.5089, allocations: 5.375 kB / 0.5374 GB, free: 4.121 MB / 398.1 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 0.0001151/0.509, allocations: 150.5 kB / 0.5376 GB, free: 3.969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.509, allocations: 6.266 kB / 0.5376 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.698e-05/0.5091, allocations: 11.03 kB / 0.5376 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.5091, allocations: 0 / 0.5376 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/0.5091, allocations: 1.625 kB / 0.5376 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.5091, allocations: 0 / 0.5376 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.5093, allocations: 150.2 kB / 0.5378 GB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5093, allocations: 0 / 0.5378 GB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.119e-05/0.5093, allocations: 8.531 kB / 0.5378 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.5093, allocations: 0 / 0.5378 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.5093, allocations: 1.922 kB / 0.5378 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.5093, allocations: 1.062 kB / 0.5378 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5093, allocations: 0 / 0.5378 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.5097, allocations: 251.6 kB / 0.538 GB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.253e-05/0.5097, allocations: 6.812 kB / 0.538 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.5097, allocations: 6 kB / 0.538 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.915e-05/0.5098, allocations: 6.281 kB / 0.538 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.51, allocations: 5.453 kB / 0.538 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-06/0.51, allocations: 5.547 kB / 0.538 GB, free: 3.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.74e-05/0.51, allocations: 98.58 kB / 0.5381 GB, free: 3.496 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.51, allocations: 0 / 0.5381 GB, free: 3.496 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004331/0.5105, allocations: 55.22 kB / 0.5382 GB, free: 3.492 MB / 398.1 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.0003201/0.5108, allocations: 159.6 kB / 0.5383 GB, free: 3.383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000409/0.5112, allocations: 232.3 kB / 0.5386 GB, free: 3.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5112, allocations: 0 / 0.5386 GB, free: 3.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.5113, allocations: 105.6 kB / 0.5387 GB, free: 3.152 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.5115, allocations: 3.656 kB / 0.5387 GB, free: 3.152 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004024/0.512, allocations: 178.5 kB / 0.5388 GB, free: 3.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.5121, allocations: 0.6915 MB / 0.5395 GB, free: 2.316 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.06e-05/0.5121, allocations: 6.203 kB / 0.5395 GB, free: 2.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.5122, allocations: 8.594 kB / 0.5395 GB, free: 2.305 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5122, allocations: 0 / 0.5395 GB, free: 2.305 MB / 398.1 MB Notification: Performance of Templates: time 0.007221/0.5194, allocations: 1.773 MB / 0.5412 GB, free: 2.188 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.837399709038436] Failed to read output from testmodel.py, exit status != 0: 0.5288142943754792 0.548234711 0.038977532 Calling exit ...