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.001613/0.001613, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001451/0.001451, allocations: 165.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.397/1.397, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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 1.177/1.177, allocations: 154.6 MB / 413.8 MB, free: 5.227 MB / 382.1 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 178] 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.272e-06/1.272e-06, allocations: 0 / 0.6186 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.365e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00255/0.002573, allocations: 1.442 MB / 0.62 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.004025, allocations: 0.7947 MB / 0.6208 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.004054, allocations: 0 / 0.6208 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.755e-05/0.004131, allocations: 0 / 0.6208 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.959e-05/0.004171, allocations: 3.938 kB / 0.6208 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007139/0.004885, allocations: 190.5 kB / 0.621 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.004996, allocations: 43.97 kB / 0.621 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.435e-05/0.005061, allocations: 3.938 kB / 0.621 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.21e-05/0.005123, allocations: 23.97 kB / 0.621 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.005174, allocations: 15.98 kB / 0.6211 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.005193, allocations: 4 kB / 0.6211 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004049/0.005598, allocations: 211.7 kB / 0.6213 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.29e-05/0.005641, allocations: 7.938 kB / 0.6213 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.384e-05/0.005674, allocations: 15.94 kB / 0.6213 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.006048, allocations: 235.5 kB / 0.6215 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.00605, allocations: 0 / 0.6215 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.31e-07/0.006051, allocations: 4 kB / 0.6215 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.006054, allocations: 0 / 0.6215 GB, free: 1.543 MB / 0.5294 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.000535/0.006589, allocations: 361.3 kB / 0.6219 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.006621, allocations: 8.031 kB / 0.6219 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.006667, allocations: 12.88 kB / 0.6219 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.006794, allocations: 129.2 kB / 0.622 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.006807, allocations: 384 / 0.622 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.006821, allocations: 4.375 kB / 0.622 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.007036, allocations: 103.9 kB / 0.6221 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.007048, allocations: 4.188 kB / 0.6221 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.007063, allocations: 12.38 kB / 0.6221 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.007069, allocations: 3.938 kB / 0.6221 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.007214, allocations: 69.67 kB / 0.6222 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.007606, allocations: 224.5 kB / 0.6224 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.007757, allocations: 88.25 kB / 0.6225 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.007869, allocations: 70.61 kB / 0.6226 GB, free: 348 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.007885, allocations: 0 / 0.6226 GB, free: 348 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.007923, allocations: 38.5 kB / 0.6226 GB, free: 300 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.007924, allocations: 0 / 0.6226 GB, free: 300 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004578/0.008382, allocations: 250.6 kB / 0.6228 GB, free: 24 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/0.008459, allocations: 81.11 kB / 0.6229 GB, free: 15.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.008572, allocations: 125.8 kB / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.008591, allocations: 25.7 kB / 0.6231 GB, free: 15.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.35e-05/0.008654, allocations: 88.14 kB / 0.6231 GB, free: 15.67 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.008668, allocations: 3.953 kB / 0.6231 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-05/0.008721, allocations: 25.7 kB / 0.6232 GB, free: 15.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.008861, allocations: 314.8 kB / 0.6235 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.009009, allocations: 119.4 kB / 0.6236 GB, free: 15.19 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.009154, allocations: 119.4 kB / 0.6237 GB, free: 15.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.009413, allocations: 193.9 kB / 0.6239 GB, free: 14.85 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.009414, allocations: 0 / 0.6239 GB, free: 14.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003628/0.009777, allocations: 284.3 kB / 0.6241 GB, free: 14.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.872e-05/0.009836, allocations: 67.34 kB / 0.6242 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.00984, allocations: 4 kB / 0.6242 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.009855, allocations: 3.984 kB / 0.6242 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.344e-05/0.009908, allocations: 0 / 0.6242 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.009912, allocations: 7.938 kB / 0.6242 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.171e-05/0.009964, allocations: 11.94 kB / 0.6242 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.009975, allocations: 3.938 kB / 0.6242 GB, free: 14.43 MB / 0.545 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 0.0001167/0.01009, allocations: 148.5 kB / 0.6244 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.01013, allocations: 11.89 kB / 0.6244 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.01015, allocations: 8 kB / 0.6244 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.01015, allocations: 3.984 kB / 0.6244 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01016, allocations: 0 / 0.6244 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.01016, allocations: 0 / 0.6244 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.01031, allocations: 113.3 kB / 0.6245 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.01031, allocations: 4 kB / 0.6245 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.01034, allocations: 8.062 kB / 0.6245 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.01035, allocations: 3.984 kB / 0.6245 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.01036, allocations: 7.938 kB / 0.6245 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.01036, allocations: 0 / 0.6245 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.01036, allocations: 0 / 0.6245 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.01069, allocations: 278.8 kB / 0.6248 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.0107, allocations: 0 / 0.6248 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.01072, allocations: 12.16 kB / 0.6248 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.0108, allocations: 4 kB / 0.6248 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.042e-05/0.01087, allocations: 4.031 kB / 0.6248 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.01088, allocations: 7.984 kB / 0.6248 GB, free: 13.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.41e-05/0.01095, allocations: 103.2 kB / 0.6249 GB, free: 13.65 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.01095, allocations: 0 / 0.6249 GB, free: 13.65 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003205/0.01127, allocations: 51.94 kB / 0.625 GB, free: 13.6 MB / 0.545 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.0002862/0.01156, allocations: 163.1 kB / 0.6251 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004058/0.01197, allocations: 323.8 kB / 0.6254 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.01197, allocations: 0 / 0.6254 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.01213, allocations: 133.1 kB / 0.6256 GB, free: 12.92 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.01235, allocations: 3.938 kB / 0.6256 GB, free: 12.92 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004338/0.01279, allocations: 222.3 kB / 0.6258 GB, free: 12.67 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.799e-05/0.01285, allocations: 67.34 kB / 0.6258 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.55e-05/0.01287, allocations: 0 / 0.6258 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.996e-05/0.01289, allocations: 8.5 kB / 0.6259 GB, free: 12.57 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.01289, allocations: 0 / 0.6259 GB, free: 12.57 MB / 0.545 GB Notification: Performance of Templates: time 0.004785/0.01767, allocations: 1.767 MB / 0.6276 GB, free: 10.85 MB / 0.545 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.425478108227253] Failed to read output from testmodel.py, exit status != 0: 0.02592652663588524 0.040582068000000006 0.031518858000000004 Calling exit ...