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/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.001144/0.001144, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001639/0.002782, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001019/0.001019, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009527/0.001971, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.989/0.989, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08047/1.069, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001358/0.001358, allocations: 241.1 kB / 244.2 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.002434, allocations: 455.6 kB / 244.7 MB, free: 14.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6883/0.6883, allocations: 138.7 MB / 384.1 MB, free: 492 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09823/0.7866, allocations: 42.4 MB / 426.5 MB, free: 5.938 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 427.8 MB, free: 4.621 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/2.921e-05, allocations: 2.312 kB / 427.8 MB, free: 4.617 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002749/0.002778, allocations: 1.525 MB / 429.3 MB, free: 3.078 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.004169, allocations: 0.8226 MB / 430.1 MB, free: 2.246 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.004205, allocations: 0 / 430.1 MB, free: 2.246 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.298e-05/0.004268, allocations: 0 / 430.1 MB, free: 2.246 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.279e-05/0.004311, allocations: 7.875 kB / 430.2 MB, free: 2.238 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000623/0.004934, allocations: 163.5 kB / 430.3 MB, free: 2.078 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.005078, allocations: 35.92 kB / 430.3 MB, free: 2.043 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.383e-05/0.005151, allocations: 12 kB / 430.4 MB, free: 2.031 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.036e-05/0.005232, allocations: 27.97 kB / 430.4 MB, free: 2.004 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.559e-05/0.005297, allocations: 19.91 kB / 430.4 MB, free: 1.984 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.005316, allocations: 4 kB / 430.4 MB, free: 1.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004769/0.005793, allocations: 227.7 kB / 430.6 MB, free: 1.758 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.00584, allocations: 15.94 kB / 430.6 MB, free: 1.742 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.00587, allocations: 8 kB / 430.7 MB, free: 1.734 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.006193, allocations: 183.5 kB / 430.8 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.065e-05/0.006214, allocations: 0 / 430.8 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.006216, allocations: 0 / 430.8 MB, free: 1.555 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.006234, allocations: 0 / 430.8 MB, free: 1.555 MB / 410.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.0004993/0.006733, allocations: 343.7 kB / 431.2 MB, free: 1.184 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.006772, allocations: 15.98 kB / 431.2 MB, free: 1.168 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.006813, allocations: 16.86 kB / 431.2 MB, free: 1.152 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.006919, allocations: 117.7 kB / 431.3 MB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.006932, allocations: 384 / 431.3 MB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.006944, allocations: 4.375 kB / 431.3 MB, free: 1.008 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.007104, allocations: 100.6 kB / 431.4 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.007113, allocations: 4.188 kB / 431.4 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.007122, allocations: 384 / 431.4 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.00713, allocations: 3.938 kB / 431.4 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.205e-05/0.007192, allocations: 45.69 kB / 431.5 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.007449, allocations: 164.2 kB / 431.6 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.645e-05/0.007536, allocations: 60.31 kB / 431.7 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.297e-05/0.007589, allocations: 54.62 kB / 431.7 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.007601, allocations: 0 / 431.7 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.007631, allocations: 38.56 kB / 431.8 MB, free: 488 kB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.007633, allocations: 0 / 431.8 MB, free: 488 kB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002542/0.007887, allocations: 186.6 kB / 432 MB, free: 276 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.007919, allocations: 51.41 kB / 432 MB, free: 212 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.008024, allocations: 119 kB / 432.1 MB, free: 80 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.008039, allocations: 29.7 kB / 432.2 MB, free: 44 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.195/0.203, allocations: 82.73 kB / 432.2 MB, free: 2.262 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.203, allocations: 12.06 kB / 432.3 MB, free: 2.262 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.2031, allocations: 19.94 kB / 432.3 MB, free: 2.246 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.302e-05/0.2031, allocations: 316.9 kB / 432.6 MB, free: 1.934 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-05/0.2032, allocations: 82.14 kB / 432.7 MB, free: 1.867 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.876e-05/0.2032, allocations: 81.47 kB / 432.7 MB, free: 1.805 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.198e-05/0.2033, allocations: 144.1 kB / 432.9 MB, free: 1.699 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2033, allocations: 0.8438 kB / 432.9 MB, free: 1.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000121/0.2035, allocations: 200.7 kB / 433.1 MB, free: 1.543 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/0.2035, allocations: 63.7 kB / 433.1 MB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.2035, allocations: 0 / 433.1 MB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.2035, allocations: 4.438 kB / 433.1 MB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.203e-05/0.2036, allocations: 5.031 kB / 433.2 MB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.2036, allocations: 1.5 kB / 433.2 MB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.692e-05/0.2036, allocations: 8.266 kB / 433.2 MB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.2036, allocations: 5.453 kB / 433.2 MB, free: 1.48 MB / 410.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.686e-05/0.2037, allocations: 146.2 kB / 433.3 MB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.2037, allocations: 7.109 kB / 433.3 MB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.066e-05/0.2037, allocations: 7.781 kB / 433.3 MB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2037, allocations: 3.734 kB / 433.3 MB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.2037, allocations: 5 kB / 433.3 MB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2037, allocations: 2.141 kB / 433.3 MB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.947e-05/0.2038, allocations: 72.7 kB / 433.4 MB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2038, allocations: 2.812 kB / 433.4 MB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.875e-05/0.2038, allocations: 4.781 kB / 433.4 MB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.2038, allocations: 5.688 kB / 433.4 MB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.2038, allocations: 0.6562 kB / 433.4 MB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.2038, allocations: 2.75 kB / 433.4 MB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2038, allocations: 2.578 kB / 433.4 MB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2038, allocations: 5.188 kB / 433.4 MB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.204, allocations: 231.8 kB / 433.7 MB, free: 17.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.204, allocations: 3.25 kB / 433.7 MB, free: 17.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.649e-05/0.204, allocations: 6.094 kB / 433.7 MB, free: 17.06 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.2041, allocations: 3.312 kB / 433.7 MB, free: 17.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.2041, allocations: 2.875 kB / 433.7 MB, free: 17.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.82e-05/0.2041, allocations: 22.56 kB / 433.7 MB, free: 17.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2041, allocations: 0 / 433.7 MB, free: 17.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002071/0.2043, allocations: 60.78 kB / 433.8 MB, free: 17.05 MB / 426.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 (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.0002066/0.2045, allocations: 148.3 kB / 433.9 MB, free: 16.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.2047, allocations: 263.3 kB / 434.2 MB, free: 16.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.2047, allocations: 2.938 kB / 434.2 MB, free: 16.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.312e-05/0.2048, allocations: 120.7 kB / 434.3 MB, free: 16.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001101/0.2049, allocations: 10.81 kB / 434.3 MB, free: 16.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.2052, allocations: 184.8 kB / 434.5 MB, free: 16.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.998e-05/0.2053, allocations: 61.12 kB / 434.5 MB, free: 16.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.819e-05/0.2053, allocations: 3.062 kB / 434.5 MB, free: 16.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.2053, allocations: 59.69 kB / 434.6 MB, free: 16.39 MB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2053, allocations: 1.312 kB / 434.6 MB, free: 16.39 MB / 426.7 MB Notification: Performance of Templates: time 0.003779/0.2091, allocations: 1.996 MB / 436.6 MB, free: 16.37 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.383098085410893]