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.001614/0.001614, allocations: 75.75 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001512/0.001512, allocations: 161.5 kB / 23.01 MB, free: 4.602 MB / 14.72 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.388/1.388, allocations: 177.2 MB / 203.4 MB, free: 8.922 MB / 190.1 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.002489/0.002489, allocations: 230.5 kB / 260 MB, free: 452 kB / 238.1 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.9216/0.9216, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003186/0.003186, allocations: 99.84 kB / 0.6474 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4055, allocations: 95.34 MB / 0.7405 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00222/0.4077, allocations: 1.447 MB / 0.7419 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.4089, allocations: 0.7843 MB / 0.7426 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.4089, allocations: 0 / 0.7426 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 6.716e-05/0.409, allocations: 2.359 kB / 0.7426 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.855e-05/0.4091, allocations: 5.844 kB / 0.7427 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006608/0.4097, allocations: 178.2 kB / 0.7428 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.4098, allocations: 47.95 kB / 0.7429 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 7.682e-05/0.4099, allocations: 13.02 kB / 0.7429 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.695e-05/0.4099, allocations: 13.84 kB / 0.7429 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.542e-05/0.41, allocations: 19.05 kB / 0.7429 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.41, allocations: 3.031 kB / 0.7429 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003957/0.4104, allocations: 211.7 kB / 0.7431 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.438e-05/0.4105, allocations: 9.516 kB / 0.7431 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.4105, allocations: 15.09 kB / 0.7431 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.4108, allocations: 202.2 kB / 0.7433 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.4108, allocations: 1.812 kB / 0.7433 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4108, allocations: 4 kB / 0.7433 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.4108, allocations: 0 / 0.7433 GB, free: 15.7 MB / 0.5919 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.0004306/0.4112, allocations: 358.4 kB / 0.7437 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.4113, allocations: 14.03 kB / 0.7437 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.4113, allocations: 8.5 kB / 0.7437 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.2e-05/0.4114, allocations: 111.8 kB / 0.7438 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.4114, allocations: 1.75 kB / 0.7438 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.4114, allocations: 3.125 kB / 0.7438 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.4116, allocations: 113.6 kB / 0.7439 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.4116, allocations: 0.6094 kB / 0.7439 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.4116, allocations: 5.375 kB / 0.7439 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4116, allocations: 0 / 0.7439 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.4117, allocations: 77.7 kB / 0.744 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.412, allocations: 216.6 kB / 0.7442 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.4122, allocations: 87.53 kB / 0.7443 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.4123, allocations: 76.53 kB / 0.7444 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.4123, allocations: 0.75 kB / 0.7444 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.4123, allocations: 32.25 kB / 0.7444 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.4123, allocations: 5.062 kB / 0.7444 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.000384/0.4127, allocations: 247.9 kB / 0.7446 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.4127, allocations: 78.27 kB / 0.7447 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.609e-05/0.4128, allocations: 122.1 kB / 0.7448 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.4128, allocations: 26.8 kB / 0.7449 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/0.4128, allocations: 95.73 kB / 0.7449 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.4129, allocations: 10.92 kB / 0.745 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.4129, allocations: 19.47 kB / 0.745 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.571e-05/0.4129, allocations: 319.5 kB / 0.7453 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.4131, allocations: 113.4 kB / 0.7454 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.4132, allocations: 124.2 kB / 0.7455 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.4134, allocations: 200.2 kB / 0.7457 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4134, allocations: 3.938 kB / 0.7457 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002726/0.4137, allocations: 288.8 kB / 0.746 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/0.4137, allocations: 65.62 kB / 0.746 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4137, allocations: 1.375 kB / 0.746 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.4137, allocations: 0 / 0.746 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.543e-05/0.4138, allocations: 4.344 kB / 0.746 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.4138, allocations: 5.375 kB / 0.7461 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.762e-05/0.4138, allocations: 5.859 kB / 0.7461 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.4138, allocations: 3.406 kB / 0.7461 GB, free: 13.32 MB / 0.5919 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 6.525e-05/0.4139, allocations: 150.9 kB / 0.7462 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.4139, allocations: 6.703 kB / 0.7462 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.693e-05/0.4139, allocations: 5.984 kB / 0.7462 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.4139, allocations: 0 / 0.7462 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.4139, allocations: 2.031 kB / 0.7462 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.4139, allocations: 0 / 0.7462 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.414, allocations: 116.5 kB / 0.7463 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.414, allocations: 8.828 kB / 0.7463 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3e-05/0.4141, allocations: 7.688 kB / 0.7463 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.4141, allocations: 0 / 0.7463 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.4141, allocations: 7.625 kB / 0.7464 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4141, allocations: 0 / 0.7464 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4141, allocations: 0 / 0.7464 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.4143, allocations: 277.7 kB / 0.7466 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-06/0.4143, allocations: 6.062 kB / 0.7466 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.4143, allocations: 2.984 kB / 0.7466 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.4144, allocations: 4.578 kB / 0.7466 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.329e-05/0.4145, allocations: 10.78 kB / 0.7466 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.4145, allocations: 5.359 kB / 0.7466 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.819e-05/0.4145, allocations: 98.03 kB / 0.7467 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4145, allocations: 0 / 0.7467 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003159/0.4149, allocations: 59.58 kB / 0.7468 GB, free: 12.69 MB / 0.5919 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.0002023/0.4151, allocations: 154.7 kB / 0.7469 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003051/0.4154, allocations: 324.1 kB / 0.7473 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.4154, allocations: 0 / 0.7473 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.4155, allocations: 136 kB / 0.7474 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.4157, allocations: 6.438 kB / 0.7474 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/0.4161, allocations: 204.6 kB / 0.7476 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.281e-05/0.4161, allocations: 71.95 kB / 0.7477 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.746e-05/0.4161, allocations: 0.6562 kB / 0.7477 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.555e-05/0.4162, allocations: 10.38 kB / 0.7477 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.4162, allocations: 0 / 0.7477 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of Templates: time 0.004603/0.4208, allocations: 1.776 MB / 0.7494 GB, free: 11.82 MB / 0.5919 GB " [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=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.737281508976594] Failed to read output from testmodel.py, exit status != 0: 0.4287423169007525 0.43963228600000004 0.026345134000000003 Calling exit ...