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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.0009867/0.0009868, allocations: 172.8 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4731/0.4731, allocations: 86.28 MB / 103.8 MB, free: 14.57 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.291/1.291, allocations: 223.3 MB / 348.4 MB, free: 5.031 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.0007975/0.0007975, allocations: 95.88 kB / 420.2 MB, free: 9.66 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003618, allocations: 15.98 kB / 0.4901 GB, free: 8 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2885, allocations: 71.01 MB / 0.5595 GB, free: 43.6 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1105/0.3991, allocations: 101.6 MB / 0.6587 GB, free: 7.867 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.3994, allocations: 94.06 kB / 0.6588 GB, free: 7.777 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009413/0.4088, allocations: 3.265 MB / 0.662 GB, free: 4.512 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4088, allocations: 0 / 0.662 GB, free: 4.512 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.4088, allocations: 4 kB / 0.662 GB, free: 4.508 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.0003985/0.4092, allocations: 438.7 kB / 0.6624 GB, free: 4.016 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.4093, allocations: 8.031 kB / 0.6624 GB, free: 4.008 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.4093, allocations: 8.844 kB / 0.6624 GB, free: 4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.4094, allocations: 172.2 kB / 0.6626 GB, free: 3.793 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.4095, allocations: 384 / 0.6626 GB, free: 3.793 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.4095, allocations: 4.375 kB / 0.6626 GB, free: 3.789 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.4097, allocations: 82.16 kB / 0.6627 GB, free: 3.703 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.4097, allocations: 4.188 kB / 0.6627 GB, free: 3.699 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.4097, allocations: 3.938 kB / 0.6627 GB, free: 3.695 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.4097, allocations: 0 / 0.6627 GB, free: 3.695 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.4098, allocations: 51.95 kB / 0.6628 GB, free: 3.645 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.4102, allocations: 276.9 kB / 0.663 GB, free: 3.324 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.4104, allocations: 70.42 kB / 0.6631 GB, free: 3.246 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.547e-05/0.4104, allocations: 48.91 kB / 0.6631 GB, free: 3.195 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.4105, allocations: 0 / 0.6631 GB, free: 3.195 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.4105, allocations: 34.56 kB / 0.6632 GB, free: 3.152 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 2.474e-06/0.4105, allocations: 0 / 0.6632 GB, free: 3.152 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003656/0.4109, allocations: 195.2 kB / 0.6633 GB, free: 2.949 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.4109, allocations: 81.11 kB / 0.6634 GB, free: 2.852 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.91e-05/0.411, allocations: 129.7 kB / 0.6635 GB, free: 2.715 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.4111, allocations: 29.7 kB / 0.6636 GB, free: 2.68 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/0.4111, allocations: 84.14 kB / 0.6637 GB, free: 2.594 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.4111, allocations: 7.906 kB / 0.6637 GB, free: 2.586 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.4111, allocations: 4.031 kB / 0.6637 GB, free: 2.582 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.4112, allocations: 322.8 kB / 0.664 GB, free: 2.258 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.941e-05/0.4114, allocations: 55.97 kB / 0.664 GB, free: 2.203 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.985e-05/0.4115, allocations: 55.97 kB / 0.6641 GB, free: 2.148 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.4117, allocations: 205.9 kB / 0.6643 GB, free: 1.926 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4117, allocations: 4 kB / 0.6643 GB, free: 1.922 MB / 474.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002805/0.412, allocations: 220.9 kB / 0.6645 GB, free: 1.688 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.225e-05/0.412, allocations: 63.39 kB / 0.6646 GB, free: 1.613 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4121, allocations: 0 / 0.6646 GB, free: 1.613 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.4121, allocations: 0 / 0.6646 GB, free: 1.613 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.892e-05/0.4121, allocations: 4 kB / 0.6646 GB, free: 1.609 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4121, allocations: 0 / 0.6646 GB, free: 1.609 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.122e-05/0.4122, allocations: 27.86 kB / 0.6646 GB, free: 1.582 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.4122, allocations: 4 kB / 0.6646 GB, free: 1.578 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 9.808e-05/0.4123, allocations: 143.5 kB / 0.6647 GB, free: 1.422 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.4124, allocations: 4 kB / 0.6647 GB, free: 1.418 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.4124, allocations: 11.89 kB / 0.6647 GB, free: 1.391 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4124, allocations: 0 / 0.6647 GB, free: 1.391 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.4124, allocations: 0 / 0.6647 GB, free: 1.391 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.4124, allocations: 0 / 0.6647 GB, free: 1.391 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.4126, allocations: 177.5 kB / 0.6649 GB, free: 1.168 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.4126, allocations: 0 / 0.6649 GB, free: 1.168 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.895e-05/0.4126, allocations: 11.94 kB / 0.6649 GB, free: 1.156 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4126, allocations: 0 / 0.6649 GB, free: 1.156 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.4127, allocations: 4 kB / 0.6649 GB, free: 1.152 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4127, allocations: 0 / 0.6649 GB, free: 1.152 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.4127, allocations: 0 / 0.6649 GB, free: 1.152 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.4129, allocations: 253.1 kB / 0.6652 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.413, allocations: 89 kB / 0.6653 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.413, allocations: 3.938 kB / 0.6653 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.4131, allocations: 8 kB / 0.6653 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.4131, allocations: 4.047 kB / 0.6653 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.4132, allocations: 8 kB / 0.6653 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.986e-05/0.4132, allocations: 99.27 kB / 0.6654 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4132, allocations: 0 / 0.6654 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002992/0.4135, allocations: 59.94 kB / 0.6654 GB, free: 0.5977 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.000243/0.4138, allocations: 167.2 kB / 0.6656 GB, free: 436 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.4141, allocations: 234.7 kB / 0.6658 GB, free: 176 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4141, allocations: 3.938 kB / 0.6658 GB, free: 172 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.4142, allocations: 107.4 kB / 0.6659 GB, free: 52 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.4144, allocations: 7.984 kB / 0.6659 GB, free: 44 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.4148, allocations: 188.5 kB / 0.6661 GB, free: 15.83 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.415, allocations: 0.6852 MB / 0.6668 GB, free: 15.12 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.36e-05/0.415, allocations: 0 / 0.6668 GB, free: 15.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.16e-05/0.4151, allocations: 11.44 kB / 0.6668 GB, free: 15.11 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4151, allocations: 0 / 0.6668 GB, free: 15.11 MB / 490.7 MB Notification: Performance of Templates: time 0.003546/0.4186, allocations: 1.601 MB / 0.6683 GB, free: 13.53 MB / 490.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)