Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 104.5 kB / 16.36 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 187.4 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.789/1.789, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB 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: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 67.91 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2045, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002507/0.2071, allocations: 1.442 MB / 0.7862 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.2083, allocations: 0.8238 MB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.2084, allocations: 4 kB / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.19e-05/0.2084, allocations: 3.938 kB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.724e-05/0.2085, allocations: 4 kB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005985/0.2091, allocations: 163.6 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.2092, allocations: 51.92 kB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.534e-05/0.2093, allocations: 11.92 kB / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.922e-05/0.2094, allocations: 23.92 kB / 0.7873 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.852e-05/0.2094, allocations: 19.91 kB / 0.7873 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.2094, allocations: 4 kB / 0.7873 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.2097, allocations: 195.7 kB / 0.7875 GB, free: 392 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.2098, allocations: 7.984 kB / 0.7875 GB, free: 384 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.2098, allocations: 23.86 kB / 0.7875 GB, free: 360 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.2101, allocations: 191.7 kB / 0.7877 GB, free: 168 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.2101, allocations: 0 / 0.7877 GB, free: 168 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2101, allocations: 3.938 kB / 0.7877 GB, free: 164 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2101, allocations: 0 / 0.7877 GB, free: 164 kB / 0.6544 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.2907/0.5009, allocations: 436.4 kB / 0.7881 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.5009, allocations: 7.594 kB / 0.7881 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.501, allocations: 6.891 kB / 0.7881 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.768e-05/0.5011, allocations: 167.1 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.5011, allocations: 1.781 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.5011, allocations: 4.344 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.5013, allocations: 77.66 kB / 0.7884 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.5013, allocations: 0 / 0.7884 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.5013, allocations: 4.781 kB / 0.7884 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.5014, allocations: 3.375 kB / 0.7884 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.5015, allocations: 47.98 kB / 0.7884 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.5018, allocations: 278.6 kB / 0.7887 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.298e-05/0.5019, allocations: 60.92 kB / 0.7887 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.459e-05/0.502, allocations: 43.81 kB / 0.7888 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.502, allocations: 3.469 kB / 0.7888 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.502, allocations: 34.97 kB / 0.7888 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.502, allocations: 0 / 0.7888 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0003427/0.5024, allocations: 193.9 kB / 0.789 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/0.5024, allocations: 80.92 kB / 0.7891 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.695e-05/0.5025, allocations: 123.2 kB / 0.7892 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.5025, allocations: 28.33 kB / 0.7892 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.5026, allocations: 89 kB / 0.7893 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.188e-05/0.5026, allocations: 3.906 kB / 0.7893 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.5026, allocations: 21.03 kB / 0.7893 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.984e-05/0.5027, allocations: 319 kB / 0.7896 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.5028, allocations: 57.97 kB / 0.7897 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.877e-05/0.5028, allocations: 57.45 kB / 0.7897 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.503, allocations: 200.6 kB / 0.7899 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.503, allocations: 4.312 kB / 0.7899 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002189/0.5033, allocations: 221.1 kB / 0.7902 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.5033, allocations: 65.61 kB / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5033, allocations: 0 / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5033, allocations: 2.625 kB / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.5034, allocations: 5.953 kB / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.5034, allocations: 0 / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.392e-05/0.5035, allocations: 12.78 kB / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.5035, allocations: 2.625 kB / 0.7902 GB, free: 47.26 MB / 0.6544 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 7.264e-05/0.5036, allocations: 146.6 kB / 0.7904 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.5036, allocations: 11.41 kB / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.967e-05/0.5036, allocations: 7.875 kB / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.5036, allocations: 0 / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.5036, allocations: 4.406 kB / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.759e-05/0.5037, allocations: 79.55 kB / 0.7905 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.5037, allocations: 2.625 kB / 0.7905 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.5037, allocations: 9.062 kB / 0.7905 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.5039, allocations: 3.531 kB / 0.7905 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000221/0.5041, allocations: 283.6 kB / 0.7908 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002091/0.5043, allocations: 326.5 kB / 0.7911 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.671e-05/0.5044, allocations: 51.84 kB / 0.7911 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.919e-05/0.5045, allocations: 98.64 kB / 0.7912 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of Backend: time 3.01e-07/0.5045, allocations: 0 / 0.7912 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000638/0.5051, allocations: 325.6 kB / 0.7915 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003139/0.5055, allocations: 0.6329 MB / 0.7921 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of Templates: time 0.003994/0.5095, allocations: 1.797 MB / 0.7939 GB, free: 45.63 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)