Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001963/0.001963, allocations: 80.55 kB / 19.95 MB, free: 4.605 MB / 18.57 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.00213/0.00213, allocations: 173.2 kB / 23.24 MB, free: 1.328 MB / 18.57 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 1.627/1.627, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.214/3.214, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.35e-05/3.481e-05, allocations: 5.938 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003272/0.003307, allocations: 1.46 MB / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.004884, allocations: 0.7829 MB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.848e-05/0.004923, allocations: 0 / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 7.736e-05/0.005, allocations: 3.938 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.143e-05/0.005052, allocations: 8 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007518/0.005803, allocations: 186.3 kB / 1.004 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.005936, allocations: 47.91 kB / 1.004 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.246e-05/0.006028, allocations: 11.94 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.471e-05/0.006093, allocations: 23.92 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.188e-05/0.006155, allocations: 11.98 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.006176, allocations: 8 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004441/0.00662, allocations: 215.7 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.991e-05/0.00668, allocations: 15.92 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.719e-05/0.006717, allocations: 8 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004087/0.007126, allocations: 235.5 kB / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.00713, allocations: 0 / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.092e-06/0.007131, allocations: 0 / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.007136, allocations: 0 / 1.004 GB, free: 9.973 MB / 0.9636 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.0005912/0.007727, allocations: 357.3 kB / 1.004 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.007765, allocations: 8.75 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.007804, allocations: 8.938 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.007934, allocations: 113.7 kB / 1.005 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.007947, allocations: 384 / 1.005 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.007962, allocations: 4.375 kB / 1.005 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.008215, allocations: 119.4 kB / 1.005 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.008224, allocations: 0 / 1.005 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.008235, allocations: 0 / 1.005 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.00824, allocations: 0 / 1.005 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.00839, allocations: 73.67 kB / 1.005 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.008819, allocations: 224.5 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.008983, allocations: 92.19 kB / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.009125, allocations: 82.55 kB / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.009141, allocations: 0 / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.009175, allocations: 30.56 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.009176, allocations: 0 / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.00051/0.009686, allocations: 242.7 kB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/0.009756, allocations: 81.11 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.00989, allocations: 121.8 kB / 1.006 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.009914, allocations: 29.73 kB / 1.006 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.891e-05/0.009983, allocations: 92.12 kB / 1.006 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.01001, allocations: 11.91 kB / 1.006 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.01007, allocations: 21.7 kB / 1.006 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.01025, allocations: 318.8 kB / 1.006 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.01042, allocations: 119.3 kB / 1.006 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.01058, allocations: 119.4 kB / 1.006 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.01086, allocations: 198 kB / 1.006 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.01087, allocations: 7.938 kB / 1.006 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004002/0.01127, allocations: 280.4 kB / 1.007 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 6.899e-05/0.01134, allocations: 63.34 kB / 1.007 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.01134, allocations: 0 / 1.007 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.01136, allocations: 0 / 1.007 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.719e-05/0.01142, allocations: 7.984 kB / 1.007 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.01143, allocations: 0 / 1.007 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.01148, allocations: 7.953 kB / 1.007 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.0115, allocations: 4 kB / 1.007 GB, free: 6.879 MB / 0.9636 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 () * 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 0.0001447/0.01164, allocations: 155.4 kB / 1.007 GB, free: 6.711 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.01167, allocations: 7.938 kB / 1.007 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.0117, allocations: 12 kB / 1.007 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.0117, allocations: 0 / 1.007 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.0117, allocations: 0 / 1.007 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01171, allocations: 3.984 kB / 1.007 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.01187, allocations: 117.2 kB / 1.007 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.01187, allocations: 3.938 kB / 1.007 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/0.0119, allocations: 0 / 1.007 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.0119, allocations: 4 kB / 1.007 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.01192, allocations: 3.984 kB / 1.007 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.01192, allocations: 0 / 1.007 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01192, allocations: 4 kB / 1.007 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.01227, allocations: 274.9 kB / 1.007 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.45e-05/0.01229, allocations: 11.89 kB / 1.007 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.0123, allocations: 0 / 1.007 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.259e-05/0.01238, allocations: 7.984 kB / 1.007 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.916e-05/0.01245, allocations: 11.94 kB / 1.007 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.01246, allocations: 0 / 1.007 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.641e-05/0.01254, allocations: 99.25 kB / 1.007 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01254, allocations: 0 / 1.007 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003599/0.0129, allocations: 55.94 kB / 1.008 GB, free: 6.039 MB / 0.9636 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) * 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.0003265/0.01322, allocations: 167.1 kB / 1.008 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004523/0.01368, allocations: 319.8 kB / 1.008 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01368, allocations: 0 / 1.008 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004351/0.01411, allocations: 129.1 kB / 1.008 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.01434, allocations: 7.938 kB / 1.008 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005086/0.01485, allocations: 214.5 kB / 1.008 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.483e-05/0.01493, allocations: 67.73 kB / 1.008 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.264e-05/0.01495, allocations: 7.938 kB / 1.008 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.01498, allocations: 12.5 kB / 1.008 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/0.01498, allocations: 0 / 1.008 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of Templates: time 0.005492/0.02047, allocations: 1.768 MB / 1.01 GB, free: 3.285 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.060393805615604]