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.001048/0.001048, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001302/0.001302, allocations: 169 kB / 23.27 MB, free: 1.223 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.9354/0.9354, allocations: 177.2 MB / 203.7 MB, free: 5.508 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.7167/0.7167, allocations: 154.6 MB / 414.8 MB, free: 0.4922 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.312e-06/1.312e-06, allocations: 0 / 0.5208 GB, free: 1.855 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.137e-05, allocations: 3.281 kB / 0.5208 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.005192/0.005214, allocations: 1.467 MB / 0.5222 GB, free: 404 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009562/0.00617, allocations: 0.8084 MB / 0.523 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.006203, allocations: 0.5312 kB / 0.523 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.959e-05/0.006262, allocations: 5.203 kB / 0.523 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.558e-05/0.006308, allocations: 7.875 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004605/0.006768, allocations: 181.9 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.984e-05/0.006848, allocations: 35.92 kB / 0.5232 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.046e-05/0.006909, allocations: 11.98 kB / 0.5232 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.799e-05/0.006957, allocations: 24.59 kB / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.144e-05/0.006998, allocations: 15.98 kB / 0.5233 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.00701, allocations: 5.812 kB / 0.5233 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002558/0.007266, allocations: 215.5 kB / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.657e-05/0.007303, allocations: 7.984 kB / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.007324, allocations: 8 kB / 0.5235 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.007532, allocations: 233.1 kB / 0.5237 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.007534, allocations: 0 / 0.5237 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.007535, allocations: 0 / 0.5237 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.007538, allocations: 0 / 0.5237 GB, free: 14.85 MB / 0.4948 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.0003415/0.00788, allocations: 451.7 kB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.007913, allocations: 9.406 kB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.007944, allocations: 8.891 kB / 0.5242 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.217e-05/0.008016, allocations: 127.2 kB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.008026, allocations: 4.375 kB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.692e-06/0.008032, allocations: 0.9062 kB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.008158, allocations: 105.4 kB / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.008164, allocations: 192 / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-06/0.00817, allocations: 1.844 kB / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.008176, allocations: 7.938 kB / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.137e-05/0.008208, allocations: 45.62 kB / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.008421, allocations: 248.5 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.483e-05/0.008476, allocations: 74.09 kB / 0.5248 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.008508, allocations: 57.44 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.00852, allocations: 4 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.00854, allocations: 36.83 kB / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.008541, allocations: 0 / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001759/0.008717, allocations: 190.6 kB / 0.525 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.008743, allocations: 77.11 kB / 0.5251 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.396e-05/0.008817, allocations: 181.9 kB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.008827, allocations: 25.7 kB / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.008868, allocations: 134.9 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.008882, allocations: 11.89 kB / 0.5255 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.008914, allocations: 27.36 kB / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.009015, allocations: 0.4889 MB / 0.526 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.196e-05/0.009067, allocations: 75.95 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.818e-05/0.009105, allocations: 83.38 kB / 0.5261 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.914e-05/0.009184, allocations: 145.3 kB / 0.5262 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.009185, allocations: 1.438 kB / 0.5263 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001266/0.009312, allocations: 208.7 kB / 0.5264 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.009344, allocations: 67.39 kB / 0.5265 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.00935, allocations: 3.938 kB / 0.5265 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.00936, allocations: 6.469 kB / 0.5265 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.921e-05/0.0094, allocations: 0 / 0.5265 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.009403, allocations: 4 kB / 0.5265 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.992e-05/0.009423, allocations: 3.984 kB / 0.5265 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.009431, allocations: 7.984 kB / 0.5265 GB, free: 11.65 MB / 0.4948 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 6.997e-05/0.009501, allocations: 190.3 kB / 0.5267 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.009517, allocations: 10.7 kB / 0.5267 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.913e-05/0.009536, allocations: 11.94 kB / 0.5267 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.009538, allocations: 0 / 0.5267 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.009539, allocations: 0 / 0.5267 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.009541, allocations: 0 / 0.5267 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.568e-05/0.009637, allocations: 113.2 kB / 0.5268 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.009638, allocations: 0 / 0.5268 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.41e-05/0.009652, allocations: 5.125 kB / 0.5269 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.009653, allocations: 0 / 0.5269 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.009659, allocations: 0 / 0.5269 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4e-07/0.009659, allocations: 0.9375 kB / 0.5269 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.009661, allocations: 7.938 kB / 0.5269 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.009806, allocations: 287.3 kB / 0.5271 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-06/0.009812, allocations: 4.938 kB / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.308e-06/0.009822, allocations: 0 / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.287e-05/0.009855, allocations: 8.656 kB / 0.5272 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.009897, allocations: 15.91 kB / 0.5272 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.0099, allocations: 1.219 kB / 0.5272 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.806e-05/0.009938, allocations: 135.2 kB / 0.5273 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009939, allocations: 0 / 0.5273 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002223/0.01016, allocations: 58.31 kB / 0.5274 GB, free: 10.75 MB / 0.4948 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.0001828/0.01034, allocations: 163.1 kB / 0.5275 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003985/0.01074, allocations: 259.6 kB / 0.5278 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01074, allocations: 3.938 kB / 0.5278 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.329e-05/0.0108, allocations: 119.8 kB / 0.5279 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.01093, allocations: 8 kB / 0.5279 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.01116, allocations: 191.8 kB / 0.5281 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.86e-05/0.01119, allocations: 59.34 kB / 0.5281 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.601e-05/0.0112, allocations: 4 kB / 0.5281 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.01125, allocations: 78.14 kB / 0.5282 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/0.01125, allocations: 3.719 kB / 0.5282 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.003152/0.01441, allocations: 2.008 MB / 0.5302 GB, free: 7.852 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4720585560426116]