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.001295/0.001295, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001461/0.001461, allocations: 219 kB / 23.03 MB, free: 4.922 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.343/1.343, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.558/2.558, allocations: 476.8 MB / 0.7715 GB, free: 3.848 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.001886/0.001886, allocations: 68.69 kB / 1.118 GB, free: 39.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2753, allocations: 170 MB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002451/0.2777, allocations: 1.461 MB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.279, allocations: 0.7694 MB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.95e-05/0.2791, allocations: 0 / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.654e-05/0.2791, allocations: 3.938 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.322e-05/0.2792, allocations: 4 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006583/0.2798, allocations: 193.7 kB / 1.286 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.2799, allocations: 39.91 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.85e-05/0.28, allocations: 11.98 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.467e-05/0.2801, allocations: 11.98 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.184e-05/0.2801, allocations: 27.84 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.2801, allocations: 4 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003611/0.2805, allocations: 215.8 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.524e-05/0.2805, allocations: 23.86 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.2806, allocations: 19.86 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.2809, allocations: 191.5 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2809, allocations: 0 / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2809, allocations: 0 / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.2809, allocations: 0 / 1.287 GB, free: 7.582 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.0005021/0.2814, allocations: 365.2 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2814, allocations: 8.031 kB / 1.287 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.115e-05/0.2814, allocations: 192 / 1.287 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/0.2814, allocations: 42.73 kB / 1.287 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.2815, allocations: 8.891 kB / 1.287 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.2816, allocations: 106.5 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.2816, allocations: 8.375 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.2816, allocations: 384 / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.2818, allocations: 115.2 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.2818, allocations: 0 / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.2818, allocations: 0 / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.2818, allocations: 0 / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.282, allocations: 73.67 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.2823, allocations: 247.9 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.2825, allocations: 88.19 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.2826, allocations: 78.61 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.2826, allocations: 0 / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.2826, allocations: 34.56 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.2826, allocations: 0 / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0004218/0.283, allocations: 238.7 kB / 1.288 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.2831, allocations: 77.11 kB / 1.288 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.2832, allocations: 129.8 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.2832, allocations: 29.64 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.2833, allocations: 92.09 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.2833, allocations: 15.97 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.2833, allocations: 17.72 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2835, allocations: 322.8 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.2836, allocations: 115.4 kB / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.2838, allocations: 123.3 kB / 1.289 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.284, allocations: 193.9 kB / 1.289 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.284, allocations: 0 / 1.289 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003338/0.2843, allocations: 276.4 kB / 1.29 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.803e-05/0.2844, allocations: 67.39 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2844, allocations: 8 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.2844, allocations: 0 / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.616e-05/0.2845, allocations: 3.938 kB / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2845, allocations: 4 kB / 1.29 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.726e-05/0.2845, allocations: 15.88 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.2845, allocations: 0 / 1.29 GB, free: 4.402 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.0001224/0.2847, allocations: 152.8 kB / 1.29 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.2847, allocations: 4 kB / 1.29 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.329e-05/0.2847, allocations: 8 kB / 1.29 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.2847, allocations: 4 kB / 1.29 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.2847, allocations: 4.062 kB / 1.29 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2847, allocations: 0 / 1.29 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.2849, allocations: 144.6 kB / 1.29 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2849, allocations: 0 / 1.29 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.93e-05/0.2849, allocations: 4 kB / 1.29 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.2849, allocations: 0 / 1.29 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.2849, allocations: 4 kB / 1.29 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.2849, allocations: 0 / 1.29 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2849, allocations: 240 / 1.29 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.2852, allocations: 290.8 kB / 1.29 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.2853, allocations: 3.953 kB / 1.29 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.2853, allocations: 4 kB / 1.29 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.86e-05/0.2853, allocations: 4 kB / 1.29 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.2855, allocations: 11.98 kB / 1.29 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.2855, allocations: 0 / 1.29 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.164e-05/0.2855, allocations: 95.27 kB / 1.29 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2855, allocations: 0 / 1.29 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003007/0.2858, allocations: 59.86 kB / 1.291 GB, free: 3.535 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.0007546/0.2866, allocations: 0.8601 MB / 1.291 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003742/0.287, allocations: 323.8 kB / 1.292 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.287, allocations: 0 / 1.292 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.2871, allocations: 129.1 kB / 1.292 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.2873, allocations: 11.94 kB / 1.292 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.2894, allocations: 2.036 MB / 1.294 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.466e-05/0.2894, allocations: 71.33 kB / 1.294 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.744e-05/0.2894, allocations: 4 kB / 1.294 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.2895, allocations: 15.44 kB / 1.294 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.2895, allocations: 0 / 1.294 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.312, allocations: 2.976 MB / 1.297 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.02, allocations: 7.938 kB / 1.297 GB, free: 13.04 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.95662179705687] Failed to read output from testmodel.py, exit status != 0: 11.615716719068587 11.189468691 10.905508645 Calling exit ...