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.001084/0.001084, allocations: 105.3 kB / 16.29 MB, free: 6.426 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.001083/0.001083, allocations: 188.7 kB / 17.22 MB, free: 5.957 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.423/1.423, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.861/1.861, allocations: 292.3 MB / 0.5495 GB, free: 17.46 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.001461/0.001461, allocations: 76.36 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2372, allocations: 114.5 MB / 0.7841 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002803/0.24, allocations: 1.423 MB / 0.7855 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.2414, allocations: 0.8237 MB / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.432e-05/0.2415, allocations: 4 kB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 7.546e-05/0.2416, allocations: 3.938 kB / 0.7863 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.807e-05/0.2416, allocations: 0 / 0.7863 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006213/0.2423, allocations: 183.6 kB / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.2424, allocations: 47.86 kB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.486e-05/0.2425, allocations: 11.92 kB / 0.7865 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.532e-05/0.2425, allocations: 12 kB / 0.7865 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.765e-05/0.2426, allocations: 27.91 kB / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.2426, allocations: 4 kB / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/0.2429, allocations: 203.7 kB / 0.7868 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.947e-05/0.243, allocations: 7.984 kB / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.243, allocations: 19.88 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.2434, allocations: 187.6 kB / 0.787 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.2434, allocations: 0 / 0.787 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2434, allocations: 3.938 kB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.2434, allocations: 4 kB / 0.787 GB, free: 0.875 MB / 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.000548/0.244, allocations: 434.7 kB / 0.7874 GB, free: 400 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.244, allocations: 12.03 kB / 0.7874 GB, free: 388 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.2441, allocations: 0.9375 kB / 0.7874 GB, free: 388 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.2442, allocations: 168.3 kB / 0.7876 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.2442, allocations: 384 / 0.7876 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.2443, allocations: 8.125 kB / 0.7876 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.2445, allocations: 77.64 kB / 0.7876 GB, free: 88 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2445, allocations: 0 / 0.7876 GB, free: 88 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.2445, allocations: 8 kB / 0.7877 GB, free: 80 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.2445, allocations: 0 / 0.7877 GB, free: 80 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.2446, allocations: 47.97 kB / 0.7877 GB, free: 32 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3742/0.6189, allocations: 277.1 kB / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.619, allocations: 59.05 kB / 0.788 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.536e-05/0.6191, allocations: 46.14 kB / 0.7881 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.6191, allocations: 3.672 kB / 0.7881 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.6191, allocations: 35.06 kB / 0.7881 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.996e-06/0.6191, allocations: 0 / 0.7881 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0003647/0.6195, allocations: 187.6 kB / 0.7883 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.6196, allocations: 80.83 kB / 0.7884 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.659e-05/0.6196, allocations: 122.8 kB / 0.7885 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.6197, allocations: 29.31 kB / 0.7885 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/0.6197, allocations: 86.92 kB / 0.7886 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.6197, allocations: 13.44 kB / 0.7886 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.6198, allocations: 25.34 kB / 0.7886 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.238e-05/0.6198, allocations: 316.7 kB / 0.7889 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.455e-05/0.6199, allocations: 55.98 kB / 0.789 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-05/0.62, allocations: 60.73 kB / 0.789 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.6202, allocations: 195.9 kB / 0.7892 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6202, allocations: 1.312 kB / 0.7892 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002107/0.6204, allocations: 217.6 kB / 0.7894 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/0.6204, allocations: 69.94 kB / 0.7895 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.6205, allocations: 0 / 0.7895 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.6205, allocations: 3.469 kB / 0.7895 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.111e-05/0.6205, allocations: 7.375 kB / 0.7895 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.6206, allocations: 0 / 0.7895 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.242e-05/0.6206, allocations: 8.688 kB / 0.7895 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.6206, allocations: 2.844 kB / 0.7895 GB, free: 47.82 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 6.901e-05/0.6207, allocations: 143.7 kB / 0.7897 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.6207, allocations: 16.47 kB / 0.7897 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.048e-05/0.6208, allocations: 11.81 kB / 0.7897 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.6208, allocations: 0.5938 kB / 0.7897 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.6208, allocations: 0 / 0.7897 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.6208, allocations: 5.406 kB / 0.7897 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.6209, allocations: 167.2 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6209, allocations: 0 / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/0.6209, allocations: 4.656 kB / 0.7899 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6209, allocations: 3.938 kB / 0.7899 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.621, allocations: 2.781 kB / 0.7899 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.621, allocations: 0.5312 kB / 0.7899 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.621, allocations: 2.375 kB / 0.7899 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.6212, allocations: 247.1 kB / 0.7901 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.6212, allocations: 87.91 kB / 0.7902 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.6212, allocations: 3.5 kB / 0.7902 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.563e-05/0.6213, allocations: 12.38 kB / 0.7902 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.6215, allocations: 8.172 kB / 0.7902 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.6215, allocations: 0 / 0.7902 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.846e-05/0.6215, allocations: 100.4 kB / 0.7903 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6215, allocations: 3 kB / 0.7903 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003278/0.6218, allocations: 53.72 kB / 0.7904 GB, free: 47.13 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.0002265/0.6221, allocations: 154.8 kB / 0.7905 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002773/0.6224, allocations: 241.4 kB / 0.7907 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.6224, allocations: 0 / 0.7907 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.697e-05/0.6225, allocations: 99.84 kB / 0.7908 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.6227, allocations: 8.812 kB / 0.7908 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.623, allocations: 167.8 kB / 0.791 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.6231, allocations: 0.6908 MB / 0.7917 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.34e-05/0.6232, allocations: 0 / 0.7917 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.429e-05/0.6232, allocations: 13.92 kB / 0.7917 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.6232, allocations: 0 / 0.7917 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of Templates: time 0.003759/0.6269, allocations: 1.75 MB / 0.7934 GB, free: 46.01 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)