Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001752/0.001752, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002289/0.002289, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.352/1.352, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.537/2.537, allocations: 476.7 MB / 0.7714 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_11_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.001929/0.001929, allocations: 65.17 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2832, allocations: 170 MB / 1.284 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002659/0.2859, allocations: 1.472 MB / 1.286 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.2872, allocations: 0.8433 MB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.2873, allocations: 0 / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.827e-05/0.2873, allocations: 7.938 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.352e-05/0.2874, allocations: 7.938 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005946/0.288, allocations: 177.5 kB / 1.287 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.2881, allocations: 51.84 kB / 1.287 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.79e-05/0.2881, allocations: 4 kB / 1.287 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.294e-05/0.2882, allocations: 19.92 kB / 1.287 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.278e-05/0.2882, allocations: 23.92 kB / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.2882, allocations: 4 kB / 1.287 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000365/0.2886, allocations: 227.7 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.909e-05/0.2886, allocations: 12 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.2887, allocations: 19.86 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.289, allocations: 195.5 kB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.289, allocations: 0 / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.173e-06/0.289, allocations: 4 kB / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.289, allocations: 0 / 1.287 GB, free: 8.656 MB / 0.9825 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.0004784/0.2894, allocations: 353.4 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.2895, allocations: 12.03 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.044e-05/0.2895, allocations: 192 / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.832e-05/0.2895, allocations: 34.69 kB / 1.288 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.2895, allocations: 8.891 kB / 1.288 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.2896, allocations: 118.5 kB / 1.288 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.2897, allocations: 4.375 kB / 1.288 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.2897, allocations: 4.375 kB / 1.288 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.2898, allocations: 77.59 kB / 1.288 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.2898, allocations: 4 kB / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.2899, allocations: 4 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-06/0.2899, allocations: 0 / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.29, allocations: 43.97 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.2903, allocations: 255.8 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.2905, allocations: 54.55 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.638e-05/0.2905, allocations: 44.92 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.2905, allocations: 3.984 kB / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2906, allocations: 38.56 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2906, allocations: 0 / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003744/0.2909, allocations: 179.3 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.291, allocations: 85.09 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.986e-05/0.2911, allocations: 129.7 kB / 1.289 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.2911, allocations: 29.73 kB / 1.289 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.2912, allocations: 92.12 kB / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.2912, allocations: 7.891 kB / 1.289 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.2912, allocations: 21.72 kB / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.2914, allocations: 326.8 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.2915, allocations: 55.97 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.924e-05/0.2916, allocations: 51.97 kB / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.2918, allocations: 206 kB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2918, allocations: 0 / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002854/0.2921, allocations: 220.9 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.661e-05/0.2922, allocations: 67.33 kB / 1.29 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2922, allocations: 0 / 1.29 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.2922, allocations: 0 / 1.29 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.475e-05/0.2922, allocations: 4 kB / 1.29 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2922, allocations: 0 / 1.29 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.308e-05/0.2923, allocations: 4.234 kB / 1.29 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.2923, allocations: 15.98 kB / 1.29 GB, free: 5.891 MB / 0.9825 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.0001205/0.2924, allocations: 144.8 kB / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.2924, allocations: 11.95 kB / 1.29 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.354e-05/0.2925, allocations: 11.97 kB / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.2925, allocations: 0 / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2925, allocations: 0 / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.2925, allocations: 0 / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.2926, allocations: 148.7 kB / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2926, allocations: 0 / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.912e-05/0.2927, allocations: 8 kB / 1.29 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2927, allocations: 0 / 1.29 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.2927, allocations: 0 / 1.29 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2927, allocations: 0 / 1.29 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2927, allocations: 0 / 1.29 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.293, allocations: 257.1 kB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-06/0.293, allocations: 7.891 kB / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.293, allocations: 4 kB / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.06e-05/0.2931, allocations: 8.031 kB / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.104e-05/0.2931, allocations: 7.984 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.2931, allocations: 0 / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.281e-05/0.2932, allocations: 99.27 kB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.2932, allocations: 0 / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002874/0.2935, allocations: 55.88 kB / 1.29 GB, free: 5.059 MB / 0.9825 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.0007049/0.2942, allocations: 0.835 MB / 1.291 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003138/0.2945, allocations: 230.7 kB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2945, allocations: 0 / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.2946, allocations: 103.4 kB / 1.291 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.2948, allocations: 6.438 kB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.2967, allocations: 1.771 MB / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.297, allocations: 0.6845 MB / 1.294 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.735e-05/0.297, allocations: 4 kB / 1.294 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.297, allocations: 19.36 kB / 1.294 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.297, allocations: 3.938 kB / 1.294 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.3188, allocations: 2.91 MB / 1.297 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.77, allocations: 8 kB / 1.297 GB, free: 14.49 MB / 0.9981 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.74793402402429] Failed to read output from testmodel.py, exit status != 0: 11.356462080962956 10.93426822 10.642521144 Calling exit ...