Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001578/0.001578, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.001836/0.001836, allocations: 168.6 kB / 25.17 MB, free: 8.887 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.9864/0.9864, allocations: 177.1 MB / 205.6 MB, free: 5.367 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.884/1.884, allocations: 389.6 MB / 0.6364 GB, free: 12.24 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.7756 GB, free: 5.98 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.283e-05, allocations: 2.312 kB / 0.7756 GB, free: 5.977 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002886/0.002909, allocations: 1.549 MB / 0.7771 GB, free: 4.441 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.004448, allocations: 0.8072 MB / 0.7779 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.647e-05/0.004495, allocations: 0 / 0.7779 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.497e-05/0.00459, allocations: 6.062 kB / 0.7779 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.612e-05/0.004666, allocations: 12.73 kB / 0.7779 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006956/0.005361, allocations: 145.2 kB / 0.778 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.005501, allocations: 56 kB / 0.7781 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.908e-05/0.00558, allocations: 4.562 kB / 0.7781 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.687e-05/0.005647, allocations: 21.89 kB / 0.7781 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.639e-05/0.005713, allocations: 21.28 kB / 0.7781 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.005732, allocations: 4 kB / 0.7781 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004409/0.006173, allocations: 237.7 kB / 0.7784 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.89e-05/0.006232, allocations: 14.5 kB / 0.7784 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.371e-05/0.006276, allocations: 15.12 kB / 0.7784 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.006629, allocations: 223.4 kB / 0.7786 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.006631, allocations: 0 / 0.7786 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.206e-06/0.006634, allocations: 4 kB / 0.7786 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.006639, allocations: 1.125 kB / 0.7786 GB, free: 2.91 MB / 0.7292 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.0004581/0.007097, allocations: 328 kB / 0.7789 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.007142, allocations: 8.75 kB / 0.7789 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.007183, allocations: 5.844 kB / 0.7789 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.007286, allocations: 105.8 kB / 0.779 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.007299, allocations: 8.969 kB / 0.779 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.007316, allocations: 8.312 kB / 0.779 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.007489, allocations: 104.9 kB / 0.7791 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.007502, allocations: 0 / 0.7791 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.007512, allocations: 4.531 kB / 0.7791 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.007519, allocations: 1.281 kB / 0.7791 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.316e-05/0.007572, allocations: 49.69 kB / 0.7792 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002829/0.007855, allocations: 164.2 kB / 0.7793 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.228e-05/0.007947, allocations: 68.8 kB / 0.7794 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.748e-05/0.007994, allocations: 54.62 kB / 0.7795 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.008007, allocations: 4.719 kB / 0.7795 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.008036, allocations: 30.56 kB / 0.7795 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.008037, allocations: 0.5312 kB / 0.7795 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0002378/0.008275, allocations: 176.2 kB / 0.7797 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.008324, allocations: 85.11 kB / 0.7798 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.367e-05/0.008418, allocations: 122.6 kB / 0.7799 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.008432, allocations: 25.7 kB / 0.7799 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.008481, allocations: 88.78 kB / 0.78 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.008498, allocations: 3.953 kB / 0.78 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.008545, allocations: 26.34 kB / 0.78 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.661e-05/0.008641, allocations: 316.6 kB / 0.7803 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.087e-05/0.008722, allocations: 82.22 kB / 0.7804 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.195e-05/0.008784, allocations: 83.39 kB / 0.7805 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.008905, allocations: 140.7 kB / 0.7806 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.008907, allocations: 0 / 0.7806 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001776/0.009084, allocations: 209.2 kB / 0.7808 GB, free: 384 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.009131, allocations: 63.39 kB / 0.7809 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.009137, allocations: 4.688 kB / 0.7809 GB, free: 304 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.009148, allocations: 0 / 0.7809 GB, free: 304 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.592e-05/0.009204, allocations: 0.625 kB / 0.7809 GB, free: 304 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.009208, allocations: 4 kB / 0.7809 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.293e-05/0.009241, allocations: 13.05 kB / 0.7809 GB, free: 288 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.009252, allocations: 0 / 0.7809 GB, free: 288 kB / 0.7292 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 9.663e-05/0.009349, allocations: 147.2 kB / 0.781 GB, free: 124 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.009379, allocations: 7.938 kB / 0.781 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/0.0094, allocations: 8.625 kB / 0.781 GB, free: 112 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.009403, allocations: 64 / 0.781 GB, free: 112 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.009406, allocations: 4.688 kB / 0.781 GB, free: 108 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.009409, allocations: 0 / 0.781 GB, free: 108 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.009533, allocations: 75.62 kB / 0.7811 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.009534, allocations: 0 / 0.7811 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.839e-05/0.009562, allocations: 7.984 kB / 0.7811 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.009565, allocations: 0 / 0.7811 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.009574, allocations: 3.938 kB / 0.7811 GB, free: 4 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.009576, allocations: 0.5938 kB / 0.7811 GB, free: 4 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.009578, allocations: 1 kB / 0.7811 GB, free: 4 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.009783, allocations: 230.9 kB / 0.7813 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.009797, allocations: 11.94 kB / 0.7814 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.009814, allocations: 4.469 kB / 0.7814 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.687e-05/0.009871, allocations: 13.11 kB / 0.7814 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.009923, allocations: 0 / 0.7814 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.009931, allocations: 4 kB / 0.7814 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.945e-05/0.009961, allocations: 18.09 kB / 0.7814 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009961, allocations: 0 / 0.7814 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002843/0.01024, allocations: 60.42 kB / 0.7815 GB, free: 15.64 MB / 0.7448 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.0002491/0.01049, allocations: 149.2 kB / 0.7816 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.01073, allocations: 257.7 kB / 0.7818 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/0.01074, allocations: 8 kB / 0.7818 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.781e-05/0.01084, allocations: 121.5 kB / 0.782 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.011, allocations: 11.06 kB / 0.782 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.01135, allocations: 207.6 kB / 0.7822 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.01156, allocations: 72.38 kB / 0.7822 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/0.01163, allocations: 59.36 kB / 0.7823 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.01163, allocations: 0 / 0.7823 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of Templates: time 0.00294/0.01457, allocations: 1.513 MB / 0.7838 GB, free: 13.2 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline > Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.860632768832147]