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.001513/0.001513, allocations: 119.3 kB / 17.17 MB, free: 5.977 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.001614/0.001614, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.389/1.389, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.608/2.608, allocations: 476.7 MB / 0.7679 GB, free: 9.32 MB / 0.6075 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.001927/0.001927, allocations: 71.89 kB / 1.113 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8431/0.845, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002676/0.8477, allocations: 1.457 MB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.8491, allocations: 0.8439 MB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.988e-05/0.8491, allocations: 1.031 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.073e-05/0.8492, allocations: 0.7969 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.714e-05/0.8493, allocations: 6.156 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006733/0.8499, allocations: 177.5 kB / 1.281 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.85, allocations: 40.33 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.427e-05/0.8501, allocations: 7.891 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.398e-05/0.8502, allocations: 22.22 kB / 1.281 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.274e-05/0.8502, allocations: 18.56 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.8502, allocations: 3.688 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004088/0.8506, allocations: 202.2 kB / 1.282 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.8507, allocations: 14.05 kB / 1.282 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.8507, allocations: 22.8 kB / 1.282 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.8511, allocations: 193.6 kB / 1.282 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.8511, allocations: 8.594 kB / 1.282 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8511, allocations: 0.5625 kB / 1.282 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.8511, allocations: 0 / 1.282 GB, free: 9.883 MB / 0.9981 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.0005939/0.8517, allocations: 438.5 kB / 1.282 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.8518, allocations: 10.62 kB / 1.282 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.318e-05/0.8518, allocations: 4.703 kB / 1.282 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.082e-05/0.8518, allocations: 32.59 kB / 1.282 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.8519, allocations: 7.547 kB / 1.282 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.852, allocations: 173.9 kB / 1.283 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.852, allocations: 1.5 kB / 1.283 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.852, allocations: 2.812 kB / 1.283 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.8522, allocations: 82.2 kB / 1.283 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.8522, allocations: 0 / 1.283 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.8522, allocations: 9.578 kB / 1.283 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.8522, allocations: 0 / 1.283 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.8524, allocations: 50.66 kB / 1.283 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.8528, allocations: 287.1 kB / 1.283 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.8529, allocations: 55.5 kB / 1.283 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.141e-05/0.853, allocations: 44.61 kB / 1.283 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.853, allocations: 1.625 kB / 1.283 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.853, allocations: 31.36 kB / 1.283 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.853, allocations: 4 kB / 1.283 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0004161/0.8535, allocations: 184.2 kB / 1.283 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.8535, allocations: 83.25 kB / 1.283 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.8536, allocations: 122.9 kB / 1.283 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.8536, allocations: 27.2 kB / 1.283 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.8537, allocations: 94.83 kB / 1.284 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.8537, allocations: 6.125 kB / 1.284 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.8538, allocations: 23.31 kB / 1.284 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.8539, allocations: 321.9 kB / 1.284 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.854, allocations: 62.52 kB / 1.284 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.935e-05/0.8541, allocations: 57.53 kB / 1.284 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.8543, allocations: 195.4 kB / 1.284 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.8543, allocations: 0 / 1.284 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003093/0.8547, allocations: 218.4 kB / 1.284 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.085e-05/0.8547, allocations: 67.92 kB / 1.284 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.8547, allocations: 4.656 kB / 1.284 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.8547, allocations: 1.344 kB / 1.284 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.972e-05/0.8548, allocations: 3.828 kB / 1.284 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.8548, allocations: 1.156 kB / 1.284 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.8548, allocations: 6.297 kB / 1.284 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.8549, allocations: 2.969 kB / 1.284 GB, free: 7.617 MB / 0.9981 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.000124/0.855, allocations: 155 kB / 1.285 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.855, allocations: 6.422 kB / 1.285 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.855, allocations: 10.75 kB / 1.285 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.855, allocations: 0.7031 kB / 1.285 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.855, allocations: 0 / 1.285 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.855, allocations: 1.062 kB / 1.285 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.8552, allocations: 174.2 kB / 1.285 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8552, allocations: 0.6094 kB / 1.285 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.299e-05/0.8553, allocations: 9.094 kB / 1.285 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.8553, allocations: 0 / 1.285 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.8553, allocations: 2.75 kB / 1.285 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.8553, allocations: 0.6562 kB / 1.285 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8553, allocations: 0 / 1.285 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.8556, allocations: 257.1 kB / 1.285 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.8556, allocations: 90.92 kB / 1.285 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.8557, allocations: 2.281 kB / 1.285 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.8557, allocations: 5.453 kB / 1.285 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.8558, allocations: 7.547 kB / 1.285 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.8559, allocations: 3.328 kB / 1.285 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.439e-05/0.8559, allocations: 102.5 kB / 1.285 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8559, allocations: 0 / 1.285 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003416/0.8563, allocations: 54.42 kB / 1.285 GB, free: 6.844 MB / 0.9981 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.0007924/0.8571, allocations: 0.8433 MB / 1.286 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003576/0.8574, allocations: 236.9 kB / 1.286 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.8574, allocations: 0 / 1.286 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.8575, allocations: 98.53 kB / 1.286 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.8578, allocations: 10.56 kB / 1.286 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.8597, allocations: 1.752 MB / 1.288 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.8601, allocations: 0.6896 MB / 1.289 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.915e-05/0.8601, allocations: 6.219 kB / 1.289 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.8601, allocations: 13.38 kB / 1.289 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.8601, allocations: 0 / 1.289 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.8796, allocations: 2.838 MB / 1.292 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.924/8.804, allocations: 6.312 kB / 1.292 GB, free: 3.359 MB / 0.9981 GB " [Timeout remaining time 291] (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: 14.481772927974816] Failed to read output from testmodel.py, exit status != 0: 8.936997340002563 8.950984369 8.097073273 Calling exit ...