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.0009181/0.0009181, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.001525/0.001525, allocations: 169 kB / 23.27 MB, free: 1.219 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 0.9503/0.9503, allocations: 177.1 MB / 203.7 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00165/0.00165, allocations: 231.2 kB / 260.5 MB, free: 12.67 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6936/0.6936, allocations: 138.5 MB / 455.5 MB, free: 1.418 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.363e-06/1.363e-06, allocations: 0 / 0.5556 GB, free: 224 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14e-05/1.276e-05, allocations: 6.25 kB / 0.5556 GB, free: 216 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001758/0.001771, allocations: 1.463 MB / 0.5571 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009788/0.00275, allocations: 0.8032 MB / 0.5578 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.002783, allocations: 7.938 kB / 0.5578 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.176e-05/0.002845, allocations: 3.984 kB / 0.5579 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.586e-05/0.002891, allocations: 0 / 0.5579 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.003418, allocations: 183.4 kB / 0.558 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.503e-05/0.003503, allocations: 39.92 kB / 0.5581 GB, free: 13.69 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.29e-05/0.003565, allocations: 7.984 kB / 0.5581 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.765e-05/0.003613, allocations: 27.97 kB / 0.5581 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.941e-05/0.003663, allocations: 15.92 kB / 0.5581 GB, free: 13.64 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.003676, allocations: 4 kB / 0.5581 GB, free: 13.64 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002715/0.003947, allocations: 215.6 kB / 0.5583 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/0.003984, allocations: 7.984 kB / 0.5583 GB, free: 13.42 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.004008, allocations: 11.94 kB / 0.5583 GB, free: 13.41 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.004228, allocations: 219.5 kB / 0.5586 GB, free: 13.19 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.00423, allocations: 8 kB / 0.5586 GB, free: 13.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004231, allocations: 0 / 0.5586 GB, free: 13.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.985e-06/0.004234, allocations: 0 / 0.5586 GB, free: 13.18 MB / 490.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.0003642/0.004598, allocations: 455.7 kB / 0.559 GB, free: 12.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.004636, allocations: 12.75 kB / 0.559 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.004665, allocations: 8.891 kB / 0.559 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.017e-05/0.004735, allocations: 116.5 kB / 0.5591 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.004744, allocations: 384 / 0.5591 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.946e-06/0.004753, allocations: 4.375 kB / 0.5591 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.00487, allocations: 104.6 kB / 0.5592 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.004876, allocations: 192 / 0.5592 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.004884, allocations: 8.359 kB / 0.5592 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.004889, allocations: 3.938 kB / 0.5592 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.004923, allocations: 49.69 kB / 0.5593 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.005143, allocations: 252.3 kB / 0.5595 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.568e-05/0.005199, allocations: 68.75 kB / 0.5596 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.005232, allocations: 57.45 kB / 0.5596 GB, free: 11.92 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.005246, allocations: 3.984 kB / 0.5597 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.005269, allocations: 37.39 kB / 0.5597 GB, free: 11.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.00527, allocations: 0 / 0.5597 GB, free: 11.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001781/0.005448, allocations: 182.6 kB / 0.5599 GB, free: 11.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.005477, allocations: 85.14 kB / 0.5599 GB, free: 11.56 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.178e-05/0.005559, allocations: 189.8 kB / 0.5601 GB, free: 11.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.005568, allocations: 25.7 kB / 0.5601 GB, free: 11.33 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.00561, allocations: 134.9 kB / 0.5603 GB, free: 11.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.005625, allocations: 15.89 kB / 0.5603 GB, free: 11.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.005658, allocations: 23.36 kB / 0.5603 GB, free: 11.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.005775, allocations: 0.4884 MB / 0.5608 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.914e-05/0.005824, allocations: 79.39 kB / 0.5609 GB, free: 10.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.859e-05/0.005863, allocations: 83.38 kB / 0.5609 GB, free: 10.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.594e-05/0.005939, allocations: 140.8 kB / 0.5611 GB, free: 10.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005941, allocations: 4 kB / 0.5611 GB, free: 10.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001219/0.006062, allocations: 212.4 kB / 0.5613 GB, free: 10.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.006093, allocations: 63.39 kB / 0.5613 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.81e-06/0.006098, allocations: 3.938 kB / 0.5614 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.006107, allocations: 0 / 0.5614 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.187e-05/0.006149, allocations: 4 kB / 0.5614 GB, free: 9.977 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.006152, allocations: 0 / 0.5614 GB, free: 9.977 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/0.006173, allocations: 4 kB / 0.5614 GB, free: 9.973 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.006181, allocations: 4 kB / 0.5614 GB, free: 9.969 MB / 490.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 6.762e-05/0.006248, allocations: 190.3 kB / 0.5615 GB, free: 9.766 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.006265, allocations: 11.95 kB / 0.5616 GB, free: 9.754 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.831e-05/0.006283, allocations: 7.938 kB / 0.5616 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.006284, allocations: 0 / 0.5616 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.006285, allocations: 4 kB / 0.5616 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.006288, allocations: 0 / 0.5616 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.722e-05/0.006375, allocations: 109.2 kB / 0.5617 GB, free: 9.609 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.006376, allocations: 0 / 0.5617 GB, free: 9.609 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.038e-05/0.006386, allocations: 3.984 kB / 0.5617 GB, free: 9.605 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.006388, allocations: 4 kB / 0.5617 GB, free: 9.602 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-06/0.006393, allocations: 0 / 0.5617 GB, free: 9.602 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.006395, allocations: 3.984 kB / 0.5617 GB, free: 9.598 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.006397, allocations: 11.88 kB / 0.5617 GB, free: 9.586 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.006538, allocations: 287.3 kB / 0.562 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.141e-06/0.006544, allocations: 3.953 kB / 0.562 GB, free: 9.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.006554, allocations: 4.234 kB / 0.562 GB, free: 9.266 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.098e-05/0.006585, allocations: 4 kB / 0.562 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.006622, allocations: 11.86 kB / 0.562 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.006627, allocations: 7.984 kB / 0.562 GB, free: 9.242 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.869e-05/0.006666, allocations: 139.5 kB / 0.5621 GB, free: 9.105 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006666, allocations: 0 / 0.5621 GB, free: 9.105 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002024/0.006868, allocations: 59.86 kB / 0.5622 GB, free: 9.047 MB / 490.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.0001693/0.007038, allocations: 163.2 kB / 0.5623 GB, free: 8.879 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.007215, allocations: 267.5 kB / 0.5626 GB, free: 8.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.007216, allocations: 0 / 0.5626 GB, free: 8.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.907e-05/0.007275, allocations: 116.8 kB / 0.5627 GB, free: 8.434 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.007417, allocations: 8 kB / 0.5627 GB, free: 8.426 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/0.007644, allocations: 190.9 kB / 0.5629 GB, free: 8.207 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.091e-05/0.007675, allocations: 59.34 kB / 0.563 GB, free: 8.129 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.752e-05/0.007693, allocations: 8.062 kB / 0.563 GB, free: 8.121 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.639e-05/0.007749, allocations: 74.2 kB / 0.563 GB, free: 8.047 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.00775, allocations: 0 / 0.563 GB, free: 8.047 MB / 490.7 MB Notification: Performance of Templates: time 0.003116/0.01087, allocations: 2.021 MB / 0.565 GB, free: 6.066 MB / 490.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.2961985948495567]