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.001256/0.001256, allocations: 117.5 kB / 16.38 MB, free: 6.012 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.001345/0.001345, allocations: 189.4 kB / 17.31 MB, free: 5.613 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.7/1.7, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.793/1.793, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.001381/0.001381, allocations: 72.33 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.246, 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.003098/0.2491, allocations: 1.442 MB / 0.7862 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.2507, allocations: 0.8199 MB / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.023e-05/0.2507, allocations: 0 / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 7.958e-05/0.2508, allocations: 3.938 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.269e-05/0.2509, allocations: 11.98 kB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006664/0.2516, allocations: 163.6 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.2517, allocations: 55.84 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.688e-05/0.2518, allocations: 11.94 kB / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.153e-05/0.2519, allocations: 15.98 kB / 0.7873 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.372e-05/0.2519, allocations: 15.92 kB / 0.7873 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.2519, allocations: 4 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000339/0.2523, allocations: 199.7 kB / 0.7875 GB, free: 396 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.523e-05/0.2523, allocations: 15.92 kB / 0.7875 GB, free: 380 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.2524, allocations: 15.94 kB / 0.7875 GB, free: 364 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.2527, allocations: 191.6 kB / 0.7877 GB, free: 172 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2527, allocations: 0 / 0.7877 GB, free: 172 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2527, allocations: 3.938 kB / 0.7877 GB, free: 168 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.2527, allocations: 4 kB / 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.4465/0.6992, allocations: 432.2 kB / 0.7881 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.6993, allocations: 10.16 kB / 0.7881 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.365e-05/0.6993, allocations: 3.312 kB / 0.7881 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.6994, allocations: 169.4 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.6994, allocations: 2.062 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.6995, allocations: 4.891 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.6997, allocations: 75.02 kB / 0.7884 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.6997, allocations: 0.8438 kB / 0.7884 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.6997, allocations: 4.688 kB / 0.7884 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.6997, allocations: 6.344 kB / 0.7884 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.6999, allocations: 46.39 kB / 0.7884 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.7002, allocations: 275 kB / 0.7887 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.7003, allocations: 64.5 kB / 0.7887 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.489e-05/0.7004, allocations: 49.14 kB / 0.7888 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.7004, allocations: 0.6562 kB / 0.7888 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.7005, allocations: 35.72 kB / 0.7888 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.7005, allocations: 0 / 0.7888 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0003561/0.7008, allocations: 187.5 kB / 0.789 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.7009, allocations: 84.23 kB / 0.7891 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.022e-05/0.701, allocations: 123.5 kB / 0.7892 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.701, allocations: 25.7 kB / 0.7892 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.701, allocations: 88.98 kB / 0.7893 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.701, allocations: 11.03 kB / 0.7893 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.7011, allocations: 18.59 kB / 0.7893 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.617e-05/0.7011, allocations: 320.6 kB / 0.7896 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.544e-05/0.7012, allocations: 58.16 kB / 0.7897 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.732e-05/0.7013, allocations: 56.95 kB / 0.7897 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.7015, allocations: 198.8 kB / 0.7899 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.7015, allocations: 0.5938 kB / 0.7899 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002347/0.7018, allocations: 223.7 kB / 0.7902 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.844e-05/0.7018, allocations: 63.44 kB / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.7018, allocations: 3.375 kB / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.7018, allocations: 0 / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.388e-05/0.7019, allocations: 4.828 kB / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.7019, allocations: 2.625 kB / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/0.702, allocations: 7.828 kB / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.702, 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.486e-05/0.7021, allocations: 150.1 kB / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.7021, allocations: 8.5 kB / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.251e-05/0.7021, allocations: 8.531 kB / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.7021, allocations: 3.688 kB / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7022, allocations: 0 / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.7022, allocations: 4.344 kB / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.7023, allocations: 174 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7023, allocations: 4.406 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.567e-05/0.7023, allocations: 5.859 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.7023, allocations: 1.516 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.7024, allocations: 6.25 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7024, allocations: 0 / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7024, allocations: 0.5312 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.7026, allocations: 254 kB / 0.7908 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.7026, allocations: 88.11 kB / 0.7909 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.7026, allocations: 0.5 kB / 0.7909 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.625e-05/0.7027, allocations: 10.48 kB / 0.7909 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.785e-05/0.7028, allocations: 9.5 kB / 0.7909 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.7028, allocations: 0 / 0.7909 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.995e-05/0.7029, allocations: 99.44 kB / 0.791 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7029, allocations: 0 / 0.791 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003332/0.7032, allocations: 56.98 kB / 0.7911 GB, free: 46.57 MB / 0.6544 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.0002512/0.7035, allocations: 157.6 kB / 0.7912 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003039/0.7038, allocations: 236.1 kB / 0.7915 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7038, allocations: 0 / 0.7915 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.813e-05/0.7039, allocations: 106.8 kB / 0.7916 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.7041, allocations: 8.562 kB / 0.7916 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003556/0.7045, allocations: 200.9 kB / 0.7918 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.7046, allocations: 0.6846 MB / 0.7924 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.685e-05/0.7046, allocations: 10.69 kB / 0.7924 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.7046, allocations: 0 / 0.7924 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of Templates: time 0.003016/0.7077, allocations: 1.493 MB / 0.7939 GB, free: 45.4 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)