Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001452/0.001452, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002098/0.002098, allocations: 222.7 kB / 23.03 MB, free: 4.945 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.311/3.311, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002028/0.002028, allocations: 64.91 kB / 1.155 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3904, allocations: 176.1 MB / 1.327 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002787/0.3932, allocations: 1.447 MB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.3947, allocations: 0.7869 MB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.119e-05/0.3947, allocations: 0 / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.114e-05/0.3948, allocations: 7.922 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.974e-05/0.3948, allocations: 4 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006836/0.3955, allocations: 189 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.3956, allocations: 43.98 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.291e-05/0.3957, allocations: 7.984 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.26e-05/0.3957, allocations: 15.94 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.642e-05/0.3958, allocations: 23.91 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.3958, allocations: 4 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003787/0.3962, allocations: 215.7 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.3962, allocations: 11.88 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.3963, allocations: 19.92 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.3966, allocations: 195.5 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.3966, allocations: 0 / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3966, allocations: 8 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.3966, allocations: 0 / 1.33 GB, free: 14.54 MB / 1.029 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.0004957/0.3971, allocations: 354.6 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3971, allocations: 8.031 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.725e-05/0.3972, allocations: 192 / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.898e-05/0.3972, allocations: 34.75 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.3972, allocations: 4.891 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.3973, allocations: 118.5 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.3973, allocations: 8.375 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.3974, allocations: 384 / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.3976, allocations: 123.2 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3976, allocations: 0 / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.3976, allocations: 0 / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.3976, allocations: 0 / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.3977, allocations: 81.61 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.3981, allocations: 243.9 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.3982, allocations: 88.19 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.3984, allocations: 74.61 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.3984, allocations: 0 / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.3984, allocations: 38.56 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.3984, allocations: 3.938 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004368/0.3988, allocations: 238.7 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.3989, allocations: 81.11 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.399, allocations: 129.8 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.399, allocations: 29.64 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.3991, allocations: 84.14 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.3991, allocations: 7.953 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.3992, allocations: 25.7 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3993, allocations: 318.8 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.3994, allocations: 119.4 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.3996, allocations: 119.4 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.3998, allocations: 197.9 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3998, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003588/0.4002, allocations: 280.4 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.668e-05/0.4003, allocations: 65.42 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4003, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.4003, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.886e-05/0.4003, allocations: 11.94 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4003, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.94e-05/0.4004, allocations: 11.94 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.4004, allocations: 3.984 kB / 1.332 GB, free: 11.36 MB / 1.029 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.0001265/0.4005, allocations: 149.7 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.4006, allocations: 7.953 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.4006, allocations: 7.984 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4006, allocations: 0 / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4006, allocations: 4 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.4006, allocations: 0 / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.4008, allocations: 140.7 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4008, allocations: 4.062 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.198e-05/0.4008, allocations: 7.984 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4008, allocations: 0 / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.4008, allocations: 0 / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4008, allocations: 7.938 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4008, allocations: 0 / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.4012, allocations: 282.8 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.4012, allocations: 3.953 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.4012, allocations: 11.94 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.4013, allocations: 8.031 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.4014, allocations: 4.219 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.4014, allocations: 4 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.669e-05/0.4015, allocations: 95.27 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4015, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000331/0.4018, allocations: 59.88 kB / 1.333 GB, free: 10.48 MB / 1.029 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.000804/0.4026, allocations: 0.8679 MB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004168/0.403, allocations: 327.8 kB / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.403, allocations: 0 / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.4032, allocations: 129.1 kB / 1.334 GB, free: 9.066 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.4034, allocations: 4 kB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.4056, allocations: 2.049 MB / 1.336 GB, free: 6.871 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.108e-05/0.4057, allocations: 75.27 kB / 1.336 GB, free: 6.777 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.875e-05/0.4057, allocations: 4.062 kB / 1.336 GB, free: 6.773 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.4057, allocations: 15.44 kB / 1.336 GB, free: 6.758 MB / 1.029 GB Notification: Performance of SimCode: time 6.52e-07/0.4057, allocations: 0 / 1.336 GB, free: 6.758 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.4299, allocations: 2.97 MB / 1.339 GB, free: 3.973 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.92, allocations: 3.344 kB / 1.339 GB, free: 3.973 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.093116338015534] Failed to read output from testmodel.py, exit status != 0: 12.077281154925004 12.093412148 11.693671629 Calling exit ...