Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4959/0.4959, allocations: 90.91 MB / 99.34 MB, free: 2.188 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 221.5 MB / 343.2 MB, free: 1.566 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 97.94 kB / 416 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.043e-05/2.077e-05, allocations: 4 kB / 494.5 MB, free: 52.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1634, allocations: 72.31 MB / 0.5535 GB, free: 12.22 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5423/0.7058, allocations: 102.3 MB / 0.6534 GB, free: 7.926 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/0.7062, allocations: 88.5 kB / 0.6535 GB, free: 7.875 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01029/0.7165, allocations: 3.243 MB / 0.6567 GB, free: 5.055 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.7166, allocations: 0 / 0.6567 GB, free: 5.055 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.7166, allocations: 0 / 0.6567 GB, free: 5.055 MB / 458.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.000502/0.7171, allocations: 429.2 kB / 0.6571 GB, free: 4.586 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.7172, allocations: 8.031 kB / 0.6571 GB, free: 4.578 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.7172, allocations: 7.953 kB / 0.6571 GB, free: 4.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.7174, allocations: 175.5 kB / 0.6573 GB, free: 4.359 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.7174, allocations: 3.984 kB / 0.6573 GB, free: 4.355 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.7174, allocations: 4 kB / 0.6573 GB, free: 4.352 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001185/0.7176, allocations: 37.92 kB / 0.6573 GB, free: 4.324 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.7177, allocations: 64.55 kB / 0.6574 GB, free: 4.262 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.7177, allocations: 0 / 0.6574 GB, free: 4.262 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.7178, allocations: 0 / 0.6574 GB, free: 4.262 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.7178, allocations: 7.953 kB / 0.6574 GB, free: 4.254 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.7182, allocations: 257.6 kB / 0.6577 GB, free: 3.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.593e-05/0.7183, allocations: 64.03 kB / 0.6577 GB, free: 3.918 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.211e-05/0.7184, allocations: 39.67 kB / 0.6577 GB, free: 3.883 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.7184, allocations: 0 / 0.6577 GB, free: 3.883 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.7184, allocations: 36.12 kB / 0.6578 GB, free: 3.84 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.7184, allocations: 0 / 0.6578 GB, free: 3.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002783/0.7187, allocations: 107.9 kB / 0.6579 GB, free: 3.742 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.7188, allocations: 84.5 kB / 0.658 GB, free: 3.645 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.836e-05/0.7189, allocations: 113.3 kB / 0.6581 GB, free: 3.535 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.7189, allocations: 25.7 kB / 0.6581 GB, free: 3.504 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.719, allocations: 83.08 kB / 0.6582 GB, free: 3.422 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.719, allocations: 11.89 kB / 0.6582 GB, free: 3.41 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-06/0.719, allocations: 0 / 0.6582 GB, free: 3.41 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.7191, allocations: 322.3 kB / 0.6585 GB, free: 3.09 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.269e-05/0.7192, allocations: 46.16 kB / 0.6585 GB, free: 3.055 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.195e-05/0.7193, allocations: 57.53 kB / 0.6586 GB, free: 3.012 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.7194, allocations: 49.03 kB / 0.6586 GB, free: 2.973 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7194, allocations: 0 / 0.6586 GB, free: 2.973 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002298/0.7197, allocations: 149 kB / 0.6588 GB, free: 2.848 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.017e-05/0.7197, allocations: 60.5 kB / 0.6588 GB, free: 2.777 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.7197, allocations: 3.984 kB / 0.6588 GB, free: 2.773 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.7198, allocations: 0 / 0.6588 GB, free: 2.773 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.254e-05/0.7198, allocations: 8 kB / 0.6589 GB, free: 2.766 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.7199, allocations: 0 / 0.6589 GB, free: 2.766 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.986e-05/0.7199, allocations: 14.08 kB / 0.6589 GB, free: 2.754 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.72, allocations: 0 / 0.6589 GB, free: 2.754 MB / 458.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.159e-05/0.7201, allocations: 142 kB / 0.659 GB, free: 2.605 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.7201, allocations: 3.906 kB / 0.659 GB, free: 2.602 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.7201, allocations: 12.28 kB / 0.659 GB, free: 2.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.7201, allocations: 0 / 0.659 GB, free: 2.59 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.7201, allocations: 4 kB / 0.659 GB, free: 2.586 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.7201, allocations: 0 / 0.659 GB, free: 2.586 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.7203, allocations: 152.9 kB / 0.6592 GB, free: 2.406 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7203, allocations: 0 / 0.6592 GB, free: 2.406 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.095e-05/0.7204, allocations: 11.88 kB / 0.6592 GB, free: 2.395 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7204, allocations: 0 / 0.6592 GB, free: 2.395 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.7204, allocations: 4 kB / 0.6592 GB, free: 2.391 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.7204, allocations: 0 / 0.6592 GB, free: 2.391 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.7204, allocations: 3.984 kB / 0.6592 GB, free: 2.387 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.7206, allocations: 207.2 kB / 0.6594 GB, free: 2.188 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.7207, allocations: 85.02 kB / 0.6595 GB, free: 2.086 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.7207, allocations: 0 / 0.6595 GB, free: 2.086 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.7208, allocations: 4.875 kB / 0.6595 GB, free: 2.082 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.288e-05/0.7209, allocations: 7.984 kB / 0.6595 GB, free: 2.074 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.7209, allocations: 4 kB / 0.6595 GB, free: 2.07 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.634e-05/0.721, allocations: 94.27 kB / 0.6596 GB, free: 1.984 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.721, allocations: 4.031 kB / 0.6596 GB, free: 1.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003455/0.7213, allocations: 75.11 kB / 0.6596 GB, free: 1.91 MB / 458.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003482/0.7217, allocations: 159.1 kB / 0.6598 GB, free: 1.742 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002645/0.722, allocations: 226.7 kB / 0.66 GB, free: 1.527 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.722, allocations: 0 / 0.66 GB, free: 1.527 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.727e-05/0.7221, allocations: 93.77 kB / 0.6601 GB, free: 1.434 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.7222, allocations: 10.02 kB / 0.6601 GB, free: 1.426 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.7225, allocations: 127.6 kB / 0.6602 GB, free: 1.293 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.7228, allocations: 0.6885 MB / 0.6609 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.582e-05/0.7228, allocations: 0 / 0.6609 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.594e-05/0.7229, allocations: 7.438 kB / 0.6609 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of SimCode: time 4.41e-07/0.7229, allocations: 0 / 0.6609 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of Templates: time 0.00419/0.7271, allocations: 1.532 MB / 0.6624 GB, free: 15.06 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)