Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9685/0.9685, allocations: 141.8 MB / 149.3 MB, free: 9.234 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 179.8 kB / 182.2 MB, free: 9.465 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 221.5 MB / 436.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008714/0.0008713, allocations: 84.09 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00178/0.00178, allocations: 285.2 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.199e-05/2.202e-05, allocations: 4 kB / 0.6766 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5501/0.5502, allocations: 82.76 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1593/0.7096, allocations: 109.4 MB / 0.8642 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.71, allocations: 95.8 kB / 0.8643 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009857/0.7199, allocations: 3.242 MB / 0.8675 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7199, allocations: 0 / 0.8675 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.7199, allocations: 8 kB / 0.8675 GB, free: 15.12 MB / 0.5417 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.0004555/0.7204, allocations: 413.8 kB / 0.8679 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.7204, allocations: 8.031 kB / 0.8679 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.7205, allocations: 7.906 kB / 0.8679 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.7206, allocations: 175 kB / 0.8681 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.7207, allocations: 3.953 kB / 0.8681 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.7207, allocations: 4 kB / 0.8681 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001133/0.7208, allocations: 35.98 kB / 0.8681 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.7209, allocations: 65.67 kB / 0.8682 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.7209, allocations: 0 / 0.8682 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.721, allocations: 0 / 0.8682 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.721, allocations: 3.938 kB / 0.8682 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.7214, allocations: 273.3 kB / 0.8684 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.672e-05/0.7215, allocations: 54.5 kB / 0.8685 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.146e-05/0.7216, allocations: 40.92 kB / 0.8685 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.7216, allocations: 0 / 0.8685 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.7216, allocations: 34.56 kB / 0.8686 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 2.424e-06/0.7216, allocations: 4 kB / 0.8686 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0002675/0.7219, allocations: 105.6 kB / 0.8687 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.722, allocations: 81.11 kB / 0.8687 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.362e-05/0.7221, allocations: 109 kB / 0.8688 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.7221, allocations: 25.7 kB / 0.8689 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.185e-05/0.7222, allocations: 96.03 kB / 0.869 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.7222, allocations: 7.906 kB / 0.869 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.7222, allocations: 3.938 kB / 0.869 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.7223, allocations: 314.8 kB / 0.8693 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.147e-05/0.7224, allocations: 52 kB / 0.8693 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-05/0.7225, allocations: 51.97 kB / 0.8694 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.7226, allocations: 51.97 kB / 0.8694 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.7226, allocations: 0 / 0.8694 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002309/0.7228, allocations: 149.7 kB / 0.8696 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.274e-05/0.7229, allocations: 63.39 kB / 0.8696 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.7229, allocations: 0 / 0.8696 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.7229, allocations: 0 / 0.8696 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.34e-05/0.723, allocations: 4.094 kB / 0.8696 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.723, allocations: 0 / 0.8696 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.1e-05/0.7231, allocations: 19.89 kB / 0.8696 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.7231, allocations: 7.984 kB / 0.8697 GB, free: 12.68 MB / 0.5417 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 () * 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.0001065/0.7232, allocations: 134.7 kB / 0.8698 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.7233, allocations: 3.953 kB / 0.8698 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.7233, allocations: 8.344 kB / 0.8698 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.7233, allocations: 0 / 0.8698 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.7233, allocations: 3.938 kB / 0.8698 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.7233, allocations: 0 / 0.8698 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.7235, allocations: 154.2 kB / 0.8699 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.7235, allocations: 0 / 0.8699 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.044e-05/0.7235, allocations: 11.92 kB / 0.87 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.7235, allocations: 0 / 0.87 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.7236, allocations: 7.953 kB / 0.87 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.7236, allocations: 0 / 0.87 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7236, allocations: 0 / 0.87 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.7238, allocations: 199.4 kB / 0.8702 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.7238, allocations: 89.14 kB / 0.8702 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.7239, allocations: 3.938 kB / 0.8702 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.7239, allocations: 15.94 kB / 0.8703 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.724, allocations: 0 / 0.8703 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.724, allocations: 4 kB / 0.8703 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.242e-05/0.7241, allocations: 91.27 kB / 0.8703 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7241, allocations: 0 / 0.8703 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003323/0.7244, allocations: 79.77 kB / 0.8704 GB, free: 11.79 MB / 0.5417 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) * 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.0003124/0.7248, allocations: 163.1 kB / 0.8706 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002843/0.7251, allocations: 226.8 kB / 0.8708 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.7251, allocations: 0 / 0.8708 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.343e-05/0.7252, allocations: 95.39 kB / 0.8709 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.7253, allocations: 2.438 kB / 0.8709 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003177/0.7257, allocations: 133 kB / 0.871 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.726, allocations: 0.6885 MB / 0.8717 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.702e-05/0.726, allocations: 8.047 kB / 0.8717 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.648e-05/0.726, allocations: 7.438 kB / 0.8717 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of SimCode: time 2.21e-07/0.7261, allocations: 0 / 0.8717 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of Templates: time 0.00393/0.73, allocations: 1.534 MB / 0.8732 GB, free: 8.895 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)