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.001278/0.001278, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001459/0.001459, allocations: 177 kB / 23.36 MB, free: 1.133 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.9695/0.9695, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.00172/0.00172, allocations: 249.9 kB / 260.5 MB, free: 12.69 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.7604/0.7604, allocations: 138.4 MB / 402.2 MB, free: 492 kB / 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 2.054e-06/2.054e-06, allocations: 0 / 462.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.424e-05/1.629e-05, allocations: 2.312 kB / 462.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002655/0.002672, allocations: 1.475 MB / 463.8 MB, free: 15.95 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.004224, allocations: 0.8217 MB / 464.6 MB, free: 15.44 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.252e-05/0.004257, allocations: 0 / 464.6 MB, free: 15.44 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 7.496e-05/0.004332, allocations: 6.406 kB / 464.6 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.529e-05/0.004387, allocations: 3.516 kB / 464.6 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007445/0.005131, allocations: 178.8 kB / 464.8 MB, free: 15.37 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.005253, allocations: 42.22 kB / 464.8 MB, free: 15.36 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.867e-05/0.005321, allocations: 11.94 kB / 464.9 MB, free: 15.35 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.286e-05/0.005384, allocations: 22.39 kB / 464.9 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.211e-05/0.005446, allocations: 20.02 kB / 464.9 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.005465, allocations: 4.344 kB / 464.9 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004306/0.005896, allocations: 214.3 kB / 465.1 MB, free: 15.29 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.854e-05/0.005944, allocations: 7.453 kB / 465.1 MB, free: 15.29 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.005983, allocations: 16.92 kB / 465.1 MB, free: 15.28 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004053/0.006388, allocations: 223.8 kB / 465.4 MB, free: 15.21 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.00639, allocations: 0 / 465.4 MB, free: 15.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.006391, allocations: 1.156 kB / 465.4 MB, free: 15.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.006395, allocations: 0 / 465.4 MB, free: 15.21 MB / 426.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.0004535/0.006849, allocations: 339 kB / 465.7 MB, free: 14.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.006885, allocations: 9.25 kB / 465.7 MB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.006922, allocations: 10.11 kB / 465.7 MB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.436e-05/0.007016, allocations: 106.8 kB / 465.8 MB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.00703, allocations: 4.094 kB / 465.8 MB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.007045, allocations: 2.938 kB / 465.8 MB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.007221, allocations: 100.2 kB / 465.9 MB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.00723, allocations: 2.125 kB / 465.9 MB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.00724, allocations: 1.688 kB / 465.9 MB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.007247, allocations: 7.281 kB / 465.9 MB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.082e-05/0.007308, allocations: 47.3 kB / 466 MB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002723/0.00758, allocations: 161.3 kB / 466.1 MB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.171e-05/0.007672, allocations: 67.88 kB / 466.2 MB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.094e-05/0.007723, allocations: 52.5 kB / 466.3 MB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.007733, allocations: 0.5625 kB / 466.3 MB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.007759, allocations: 33.19 kB / 466.3 MB, free: 14.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.00776, allocations: 0.5625 kB / 466.3 MB, free: 14.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002388/0.007999, allocations: 178.5 kB / 466.5 MB, free: 14.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.008047, allocations: 79.73 kB / 466.5 MB, free: 14.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.435e-05/0.008141, allocations: 122.6 kB / 466.7 MB, free: 13.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.008156, allocations: 27.61 kB / 466.7 MB, free: 13.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.243e-05/0.008199, allocations: 92.34 kB / 466.8 MB, free: 13.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.008215, allocations: 7.172 kB / 466.8 MB, free: 13.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.00826, allocations: 24.56 kB / 466.8 MB, free: 13.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.008363, allocations: 315.8 kB / 467.1 MB, free: 13.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.094e-05/0.008444, allocations: 82.62 kB / 467.2 MB, free: 13.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.326e-05/0.008507, allocations: 78.03 kB / 467.3 MB, free: 13.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.008638, allocations: 149 kB / 467.4 MB, free: 13.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.00864, allocations: 0 / 467.4 MB, free: 13.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001646/0.008805, allocations: 194.8 kB / 467.6 MB, free: 13.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.008847, allocations: 67.34 kB / 467.7 MB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.008852, allocations: 0.75 kB / 467.7 MB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.008866, allocations: 5.094 kB / 467.7 MB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.346e-05/0.00892, allocations: 7.984 kB / 467.7 MB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.008922, allocations: 3.938 kB / 467.7 MB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.69e-05/0.008959, allocations: 9.141 kB / 467.7 MB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.008971, allocations: 0.7031 kB / 467.7 MB, free: 12.94 MB / 426.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 9.098e-05/0.009062, allocations: 143.2 kB / 467.8 MB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.009093, allocations: 8.547 kB / 467.8 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.009117, allocations: 9.5 kB / 467.9 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.00912, allocations: 3.938 kB / 467.9 MB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.009122, allocations: 0 / 467.9 MB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.009126, allocations: 0 / 467.9 MB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.009255, allocations: 71.27 kB / 467.9 MB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.009257, allocations: 0.75 kB / 467.9 MB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.675e-05/0.009284, allocations: 4.688 kB / 467.9 MB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.009286, allocations: 0 / 467.9 MB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.009295, allocations: 3.312 kB / 467.9 MB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.009298, allocations: 4 kB / 467.9 MB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.009301, allocations: 3.984 kB / 467.9 MB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.009495, allocations: 232.7 kB / 468.2 MB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.009509, allocations: 13.8 kB / 468.2 MB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.009524, allocations: 0 / 468.2 MB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.932e-05/0.009583, allocations: 4 kB / 468.2 MB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.009632, allocations: 3.938 kB / 468.2 MB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.009643, allocations: 12.83 kB / 468.2 MB, free: 12.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.33e-05/0.009667, allocations: 14.17 kB / 468.2 MB, free: 12.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009667, allocations: 0.5312 kB / 468.2 MB, free: 12.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003389/0.01001, allocations: 62.06 kB / 468.3 MB, free: 12.3 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.00027/0.01028, allocations: 148.2 kB / 468.4 MB, free: 12.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.01052, allocations: 264.3 kB / 468.7 MB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.01052, allocations: 0 / 468.7 MB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.744e-05/0.01062, allocations: 121.5 kB / 468.8 MB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.01077, allocations: 12 kB / 468.8 MB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.0111, allocations: 178.5 kB / 469 MB, free: 11.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.201e-05/0.01114, allocations: 59.34 kB / 469 MB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.974e-05/0.01116, allocations: 0 / 469 MB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.48e-05/0.01123, allocations: 59.38 kB / 469.1 MB, free: 11.36 MB / 426.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01123, allocations: 0.8125 kB / 469.1 MB, free: 11.36 MB / 426.7 MB Notification: Performance of Templates: time 0.004467/0.0157, allocations: 1.999 MB / 471.1 MB, free: 9.527 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.503242300823331]