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.001325/0.001325, allocations: 183 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5267/0.5267, allocations: 91.99 MB / 108.5 MB, free: 13.05 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 223.2 MB / 354.3 MB, free: 10.45 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 96.28 kB / 427.4 MB, free: 2.129 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005186/0.0005186, allocations: 12 kB / 0.4983 GB, free: 42.04 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2321, allocations: 72.32 MB / 0.5689 GB, free: 1.664 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5599/0.7921, allocations: 103 MB / 0.6695 GB, free: 1.359 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.7924, allocations: 99.91 kB / 0.6696 GB, free: 1.262 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009934/0.8024, allocations: 3.267 MB / 0.6728 GB, free: 14 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.8024, allocations: 0 / 0.6728 GB, free: 14 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.8024, allocations: 8 kB / 0.6728 GB, free: 13.99 MB / 474.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.0005489/0.803, allocations: 427.1 kB / 0.6732 GB, free: 13.52 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.803, allocations: 12.03 kB / 0.6732 GB, free: 13.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.8031, allocations: 9.188 kB / 0.6732 GB, free: 13.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.8033, allocations: 178.9 kB / 0.6734 GB, free: 13.28 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.8033, allocations: 4 kB / 0.6734 GB, free: 13.28 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.8033, allocations: 0 / 0.6734 GB, free: 13.28 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.8035, allocations: 85.59 kB / 0.6735 GB, free: 13.19 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.8036, allocations: 0 / 0.6735 GB, free: 13.19 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.8036, allocations: 0 / 0.6735 GB, free: 13.19 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.8036, allocations: 0 / 0.6735 GB, free: 13.19 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.8037, allocations: 51.92 kB / 0.6735 GB, free: 13.14 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.8042, allocations: 284.9 kB / 0.6738 GB, free: 12.81 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.8044, allocations: 66.48 kB / 0.6738 GB, free: 12.73 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.8044, allocations: 0 / 0.6738 GB, free: 12.73 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.8044, allocations: 30.56 kB / 0.6739 GB, free: 12.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.8045, allocations: 0 / 0.6739 GB, free: 12.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.000493/0.805, allocations: 272.5 kB / 0.6741 GB, free: 12.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.805, allocations: 77.11 kB / 0.6742 GB, free: 12.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.8051, allocations: 116.9 kB / 0.6743 GB, free: 12.18 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.8052, allocations: 25.7 kB / 0.6743 GB, free: 12.15 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.731e-05/0.8053, allocations: 92.12 kB / 0.6744 GB, free: 12.06 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.8053, allocations: 3.906 kB / 0.6744 GB, free: 12.05 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.8053, allocations: 7.938 kB / 0.6744 GB, free: 12.05 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.8054, allocations: 314.8 kB / 0.6747 GB, free: 11.73 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.8055, allocations: 63.98 kB / 0.6748 GB, free: 11.67 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.079e-05/0.8056, allocations: 55.97 kB / 0.6749 GB, free: 11.61 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.8058, allocations: 116.2 kB / 0.675 GB, free: 11.49 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8058, allocations: 0 / 0.675 GB, free: 11.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003226/0.8061, allocations: 220.9 kB / 0.6752 GB, free: 11.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.062e-05/0.8062, allocations: 67.41 kB / 0.6752 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.8062, allocations: 0 / 0.6752 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.8062, allocations: 304 / 0.6752 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.376e-05/0.8063, allocations: 11.98 kB / 0.6753 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.8063, allocations: 3.953 kB / 0.6753 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.406e-05/0.8064, allocations: 11.94 kB / 0.6753 GB, free: 11.15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.8064, allocations: 4 kB / 0.6753 GB, free: 11.14 MB / 474.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.8066, allocations: 151.5 kB / 0.6754 GB, free: 10.98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.8066, allocations: 7.984 kB / 0.6754 GB, free: 10.97 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.37e-05/0.8067, allocations: 7.906 kB / 0.6754 GB, free: 10.96 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.8067, allocations: 0 / 0.6754 GB, free: 10.96 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.8067, allocations: 3.938 kB / 0.6754 GB, free: 10.96 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.8067, allocations: 3.953 kB / 0.6754 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.8069, allocations: 173.5 kB / 0.6756 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8069, allocations: 0 / 0.6756 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.8069, allocations: 7.984 kB / 0.6756 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.8069, allocations: 0 / 0.6756 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.807, allocations: 8 kB / 0.6756 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.807, allocations: 0 / 0.6756 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.807, allocations: 0 / 0.6756 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.8073, allocations: 249.2 kB / 0.6759 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.8073, allocations: 85.02 kB / 0.6759 GB, free: 10.35 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.8073, allocations: 0 / 0.6759 GB, free: 10.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.539e-05/0.8074, allocations: 16.02 kB / 0.676 GB, free: 10.34 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/0.8075, allocations: 0 / 0.676 GB, free: 10.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.8075, allocations: 4 kB / 0.676 GB, free: 10.33 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.37e-05/0.8076, allocations: 105.2 kB / 0.6761 GB, free: 10.23 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8076, allocations: 0 / 0.6761 GB, free: 10.23 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000329/0.8079, allocations: 63.94 kB / 0.6761 GB, free: 10.17 MB / 474.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) * 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 (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.0002748/0.8082, allocations: 163.1 kB / 0.6763 GB, free: 10 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003496/0.8086, allocations: 238.7 kB / 0.6765 GB, free: 9.742 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.8086, allocations: 0 / 0.6765 GB, free: 9.742 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.8087, allocations: 107.4 kB / 0.6766 GB, free: 9.625 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.8089, allocations: 11.89 kB / 0.6766 GB, free: 9.613 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.8093, allocations: 173.2 kB / 0.6768 GB, free: 9.414 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.8096, allocations: 0.7003 MB / 0.6775 GB, free: 8.688 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.665e-05/0.8096, allocations: 0 / 0.6775 GB, free: 8.688 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.738e-05/0.8096, allocations: 11.44 kB / 0.6775 GB, free: 8.676 MB / 474.7 MB Notification: Performance of SimCode: time 3.9e-07/0.8096, allocations: 3.938 kB / 0.6775 GB, free: 8.672 MB / 474.7 MB Notification: Performance of Templates: time 0.004308/0.814, allocations: 1.57 MB / 0.679 GB, free: 7.117 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)