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.001771/0.001771, allocations: 116.8 kB / 17.17 MB, free: 6.004 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.002059/0.002059, allocations: 214.4 kB / 20.13 MB, free: 3.055 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.391/1.391, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.002397/0.002397, allocations: 287 kB / 309.8 MB, free: 3.488 MB / 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 1.002/1.002, allocations: 180.6 MB / 0.5338 GB, free: 12.34 MB / 398.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: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="cs",version="2.0",platforms={"static"}) [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.002708/0.002708, allocations: 99.86 kB / 0.7347 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4891/0.4918, allocations: 95.33 MB / 0.8278 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002233/0.4941, allocations: 1.443 MB / 0.8292 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.4952, allocations: 0.8395 MB / 0.83 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.828e-05/0.4952, allocations: 2.625 kB / 0.83 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.8e-05/0.4952, allocations: 4.641 kB / 0.83 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.254e-05/0.4953, allocations: 4.734 kB / 0.83 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.4958, allocations: 171 kB / 0.8302 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.4959, allocations: 53.48 kB / 0.8302 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.763e-05/0.496, allocations: 5.234 kB / 0.8303 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.026e-05/0.496, allocations: 16.2 kB / 0.8303 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.549e-05/0.4961, allocations: 18.81 kB / 0.8303 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.4961, allocations: 5.25 kB / 0.8303 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002865/0.4964, allocations: 206.2 kB / 0.8305 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.843e-05/0.4964, allocations: 12.62 kB / 0.8305 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.06e-05/0.4964, allocations: 18.58 kB / 0.8305 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.4967, allocations: 197.8 kB / 0.8307 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4967, allocations: 0 / 0.8307 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4967, allocations: 0 / 0.8307 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.4967, allocations: 0 / 0.8307 GB, free: 1.219 MB / 0.5762 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.0003888/0.4971, allocations: 430.5 kB / 0.8311 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.4971, allocations: 10.5 kB / 0.8311 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.59e-05/0.4971, allocations: 4.188 kB / 0.8311 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.694e-05/0.4972, allocations: 36.67 kB / 0.8312 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.4972, allocations: 12.25 kB / 0.8312 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.441e-05/0.4973, allocations: 176.9 kB / 0.8313 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.4973, allocations: 4.219 kB / 0.8313 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.4973, allocations: 6.938 kB / 0.8314 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.4974, allocations: 75.12 kB / 0.8314 GB, free: 476 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.4975, allocations: 0 / 0.8314 GB, free: 476 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.4975, allocations: 4.297 kB / 0.8314 GB, free: 476 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.4975, allocations: 0 / 0.8314 GB, free: 476 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.4976, allocations: 44.58 kB / 0.8315 GB, free: 468 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.4979, allocations: 286 kB / 0.8317 GB, free: 168 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.946e-05/0.498, allocations: 60.11 kB / 0.8318 GB, free: 132 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.414e-05/0.498, allocations: 41.08 kB / 0.8318 GB, free: 120 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.4981, allocations: 4 kB / 0.8318 GB, free: 116 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.4981, allocations: 33.89 kB / 0.8319 GB, free: 76 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4981, allocations: 4 kB / 0.8319 GB, free: 72 kB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003797/0.4985, allocations: 186.9 kB / 0.8321 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.4985, allocations: 80.44 kB / 0.8321 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.4986, allocations: 122.6 kB / 0.8323 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.4986, allocations: 25.7 kB / 0.8323 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.4987, allocations: 92.67 kB / 0.8324 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.4987, allocations: 11.19 kB / 0.8324 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.4988, allocations: 19.42 kB / 0.8324 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.4989, allocations: 324.3 kB / 0.8327 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.769e-05/0.499, allocations: 58.22 kB / 0.8328 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.901e-05/0.4991, allocations: 59.42 kB / 0.8328 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.4993, allocations: 193.5 kB / 0.833 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4993, allocations: 3.938 kB / 0.833 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002909/0.4996, allocations: 222.5 kB / 0.8332 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.385e-05/0.4997, allocations: 62.19 kB / 0.8333 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.4997, allocations: 4.656 kB / 0.8333 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4997, allocations: 0 / 0.8333 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.823e-05/0.4997, allocations: 9.641 kB / 0.8333 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.4998, allocations: 3.984 kB / 0.8333 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.573e-05/0.4998, allocations: 6.641 kB / 0.8333 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.4998, allocations: 3.188 kB / 0.8333 GB, free: 14.95 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 0.0001239/0.4999, allocations: 157.7 kB / 0.8335 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.5, allocations: 7.984 kB / 0.8335 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.984e-05/0.5, allocations: 9.125 kB / 0.8335 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5, allocations: 240 / 0.8335 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.5, allocations: 1.531 kB / 0.8335 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.5, allocations: 4.547 kB / 0.8335 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.5002, allocations: 175.9 kB / 0.8336 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.5002, allocations: 0 / 0.8336 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.914e-05/0.5002, allocations: 3.688 kB / 0.8336 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.5002, allocations: 0 / 0.8336 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.5002, allocations: 3.062 kB / 0.8337 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5002, allocations: 0 / 0.8337 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.5002, allocations: 0 / 0.8337 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.5005, allocations: 260 kB / 0.8339 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.5006, allocations: 84.39 kB / 0.834 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.5006, allocations: 3.5 kB / 0.834 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.5007, allocations: 3.594 kB / 0.834 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.5007, allocations: 4.422 kB / 0.834 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.5007, allocations: 2.719 kB / 0.834 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.752e-05/0.5008, allocations: 103 kB / 0.8341 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5008, allocations: 0 / 0.8341 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003008/0.5011, allocations: 55.86 kB / 0.8341 GB, free: 14.19 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.0007562/0.5019, allocations: 0.8343 MB / 0.835 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004019/0.5023, allocations: 235 kB / 0.8352 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5023, allocations: 0 / 0.8352 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.5024, allocations: 103.5 kB / 0.8353 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.5026, allocations: 2.453 kB / 0.8353 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.5046, allocations: 1.758 MB / 0.837 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.5049, allocations: 0.6888 MB / 0.8377 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.308e-05/0.505, allocations: 9.734 kB / 0.8377 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.505, allocations: 13.28 kB / 0.8377 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.505, allocations: 0 / 0.8377 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.5239, allocations: 2.85 MB / 0.8405 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/8.309, allocations: 11.86 kB / 0.8405 GB, free: 10.7 MB / 0.5919 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.028227458999027] Failed to read output from testmodel.py, exit status != 0: 8.43054106499767 8.444404933 7.944925701 Calling exit ...