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.0006994/0.0006994, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008997/0.001599, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006632/0.0006632, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009077/0.001571, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8979/0.8979, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08228/0.9802, allocations: 53.68 MB / 243.4 MB, free: 15.48 MB / 250.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.7252/0.7252, allocations: 154.6 MB / 398.8 MB, free: 388 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2871/1.012, allocations: 49.04 MB / 447.8 MB, free: 6.559 MB / 426.7 MB " [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.323e-06/1.323e-06, allocations: 0 / 449.2 MB, free: 5.234 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.174e-05, allocations: 9.141 kB / 449.2 MB, free: 5.23 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001859/0.00188, allocations: 1.546 MB / 450.7 MB, free: 3.715 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008627/0.002743, allocations: 0.8171 MB / 451.5 MB, free: 2.898 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.821e-05/0.002771, allocations: 0 / 451.5 MB, free: 2.898 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.802e-05/0.002819, allocations: 3.938 kB / 451.5 MB, free: 2.895 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.113e-05/0.00285, allocations: 1.531 kB / 451.5 MB, free: 2.895 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.00324, allocations: 154.4 kB / 451.7 MB, free: 2.746 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.701e-05/0.003337, allocations: 46.91 kB / 451.7 MB, free: 2.703 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.902e-05/0.003396, allocations: 4.547 kB / 451.7 MB, free: 2.699 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.588e-05/0.003452, allocations: 26.17 kB / 451.8 MB, free: 2.676 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.003499, allocations: 17.72 kB / 451.8 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.003512, allocations: 5.406 kB / 451.8 MB, free: 2.656 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003185/0.00383, allocations: 232.7 kB / 452 MB, free: 2.43 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.987e-05/0.00387, allocations: 18.5 kB / 452 MB, free: 2.414 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.003894, allocations: 10.39 kB / 452 MB, free: 2.406 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.00409, allocations: 170.7 kB / 452.2 MB, free: 2.242 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.0041, allocations: 3.406 kB / 452.2 MB, free: 2.242 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.3e-07/0.004101, allocations: 0 / 452.2 MB, free: 2.242 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.00411, allocations: 1.203 kB / 452.2 MB, free: 2.242 MB / 426.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.0003708/0.004481, allocations: 349.7 kB / 452.6 MB, free: 1.867 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.67e-05/0.004507, allocations: 12.03 kB / 452.6 MB, free: 1.855 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.004538, allocations: 4.938 kB / 452.6 MB, free: 1.852 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.36e-05/0.004631, allocations: 114.6 kB / 452.7 MB, free: 1.715 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.004639, allocations: 384 / 452.7 MB, free: 1.715 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.004651, allocations: 4.375 kB / 452.7 MB, free: 1.711 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.004767, allocations: 107.3 kB / 452.8 MB, free: 1.594 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.759e-06/0.004772, allocations: 192 / 452.8 MB, free: 1.594 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-06/0.004778, allocations: 2.25 kB / 452.8 MB, free: 1.594 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.004784, allocations: 3.938 kB / 452.8 MB, free: 1.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.02e-05/0.004814, allocations: 45.69 kB / 452.8 MB, free: 1.539 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.004989, allocations: 161.6 kB / 453 MB, free: 1.367 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.439e-05/0.005043, allocations: 65.14 kB / 453.1 MB, free: 1.289 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.124e-05/0.005074, allocations: 50.62 kB / 453.1 MB, free: 1.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.415e-06/0.005083, allocations: 0 / 453.1 MB, free: 1.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.005102, allocations: 43.83 kB / 453.2 MB, free: 1.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.005103, allocations: 0 / 453.2 MB, free: 1.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001501/0.005253, allocations: 179.2 kB / 453.3 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.843e-05/0.005271, allocations: 52.09 kB / 453.4 MB, free: 0.918 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.919e-05/0.00533, allocations: 129.5 kB / 453.5 MB, free: 0.7812 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.005341, allocations: 30.98 kB / 453.5 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.61e-05/0.005367, allocations: 85.45 kB / 453.6 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.128e-05/0.005379, allocations: 7.891 kB / 453.6 MB, free: 0.6523 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.005407, allocations: 21.7 kB / 453.7 MB, free: 0.625 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.212e-05/0.005469, allocations: 318.8 kB / 454 MB, free: 312 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.182e-05/0.005521, allocations: 87.86 kB / 454 MB, free: 212 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.271e-05/0.005564, allocations: 80.61 kB / 454.1 MB, free: 120 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.62e-05/0.00565, allocations: 144.8 kB / 454.3 MB, free: 15.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.005652, allocations: 0 / 454.3 MB, free: 15.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001035/0.005755, allocations: 200.3 kB / 454.5 MB, free: 15.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.005791, allocations: 65.25 kB / 454.5 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.005794, allocations: 0 / 454.5 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.005805, allocations: 9.078 kB / 454.5 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.211e-05/0.005847, allocations: 8.062 kB / 454.5 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-06/0.005849, allocations: 0.6562 kB / 454.5 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.813e-05/0.005867, allocations: 6.312 kB / 454.6 MB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.005874, allocations: 0 / 454.6 MB, free: 15.63 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.247e-05/0.005936, allocations: 147.8 kB / 454.7 MB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.00595, allocations: 4 kB / 454.7 MB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.697e-05/0.005967, allocations: 8 kB / 454.7 MB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.005969, allocations: 5.266 kB / 454.7 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.005971, allocations: 0 / 454.7 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.005973, allocations: 1.625 kB / 454.7 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.468e-05/0.006048, allocations: 77.83 kB / 454.8 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.006048, allocations: 0 / 454.8 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.29e-05/0.006061, allocations: 7.984 kB / 454.8 MB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-06/0.006066, allocations: 0.6875 kB / 454.8 MB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.006068, allocations: 7.938 kB / 454.8 MB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-06/0.006072, allocations: 1.062 kB / 454.8 MB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.006074, allocations: 3.938 kB / 454.8 MB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.006074, allocations: 3.938 kB / 454.8 MB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.006182, allocations: 228.4 kB / 455 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.006192, allocations: 0.5625 kB / 455 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.941e-05/0.006221, allocations: 4 kB / 455 MB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.006257, allocations: 17.27 kB / 455.1 MB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.00626, allocations: 0 / 455.1 MB, free: 15.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.522e-05/0.006275, allocations: 16.84 kB / 455.1 MB, free: 15.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006275, allocations: 0.625 kB / 455.1 MB, free: 15.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000175/0.00645, allocations: 55.88 kB / 455.1 MB, free: 14.99 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.0001862/0.006637, allocations: 149.5 kB / 455.3 MB, free: 14.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001559/0.006792, allocations: 265.3 kB / 455.5 MB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.006796, allocations: 0 / 455.5 MB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.755e-05/0.006854, allocations: 121.4 kB / 455.7 MB, free: 14.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.91e-05/0.006953, allocations: 8.625 kB / 455.7 MB, free: 14.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.007274, allocations: 189.9 kB / 455.8 MB, free: 14.17 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.903e-05/0.007303, allocations: 60.28 kB / 455.9 MB, free: 14.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.279e-05/0.007316, allocations: 0 / 455.9 MB, free: 14.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.007363, allocations: 65.05 kB / 456 MB, free: 14.03 MB / 442.7 MB Notification: Performance of SimCode: time 3.81e-07/0.007364, allocations: 0 / 456 MB, free: 14.03 MB / 442.7 MB Notification: Performance of Templates: time 0.00301/0.01037, allocations: 2.032 MB / 458 MB, free: 12.14 MB / 442.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.3669470977038145]