Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.0009183/0.0009183, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000843/0.000843, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8948/0.8948, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5576/0.5576, allocations: 110.2 MB / 369.4 MB, free: 12.61 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5473 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156e-05/1.308e-05, allocations: 2.281 kB / 0.5473 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001826/0.001839, allocations: 1.449 MB / 0.5487 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.003001, allocations: 0.7876 MB / 0.5495 GB, free: 7.562 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.986e-05/0.003031, allocations: 0 / 0.5495 GB, free: 7.562 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 6.133e-05/0.003092, allocations: 3.938 kB / 0.5495 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.604e-05/0.003138, allocations: 4 kB / 0.5495 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.003686, allocations: 182.8 kB / 0.5497 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.003788, allocations: 51.91 kB / 0.5497 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 7.416e-05/0.003862, allocations: 0 / 0.5497 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.671e-05/0.003909, allocations: 19.98 kB / 0.5497 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.137e-05/0.00396, allocations: 23.91 kB / 0.5497 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.003976, allocations: 4 kB / 0.5498 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.004231, allocations: 207.7 kB / 0.5499 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.004277, allocations: 11.98 kB / 0.55 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.004309, allocations: 23.86 kB / 0.55 GB, free: 7.043 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.004558, allocations: 239.4 kB / 0.5502 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.00456, allocations: 0 / 0.5502 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.91e-07/0.00456, allocations: 0 / 0.5502 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.004564, allocations: 0 / 0.5502 GB, free: 6.809 MB / 0.5105 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.000417/0.004981, allocations: 353.4 kB / 0.5505 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 9.265e-05/0.005074, allocations: 8.625 kB / 0.5506 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.518e-05/0.005129, allocations: 34.75 kB / 0.5506 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.005167, allocations: 8.891 kB / 0.5506 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.864e-05/0.005256, allocations: 121.6 kB / 0.5507 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.00527, allocations: 4.375 kB / 0.5507 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.00528, allocations: 384 / 0.5507 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.005449, allocations: 111.9 kB / 0.5508 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.005458, allocations: 192 / 0.5508 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.005469, allocations: 4.125 kB / 0.5508 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.005473, allocations: 0 / 0.5508 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.634e-05/0.005549, allocations: 77.67 kB / 0.5509 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.005854, allocations: 240 kB / 0.5511 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.101e-05/0.005935, allocations: 88.19 kB / 0.5512 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.87e-05/0.005994, allocations: 78.55 kB / 0.5513 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.006008, allocations: 7.922 kB / 0.5513 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.006025, allocations: 30.56 kB / 0.5513 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.006026, allocations: 4 kB / 0.5513 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002609/0.006287, allocations: 242.7 kB / 0.5516 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.006321, allocations: 81.11 kB / 0.5516 GB, free: 5.133 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.723e-05/0.006399, allocations: 125.8 kB / 0.5518 GB, free: 5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.00641, allocations: 33.73 kB / 0.5518 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.006448, allocations: 88.12 kB / 0.5519 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.226e-05/0.00646, allocations: 7.953 kB / 0.5519 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.006494, allocations: 25.7 kB / 0.5519 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.871e-05/0.006573, allocations: 310.8 kB / 0.5522 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.374e-05/0.006657, allocations: 119.4 kB / 0.5523 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-05/0.006729, allocations: 123.4 kB / 0.5524 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.006867, allocations: 197.9 kB / 0.5526 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.006869, allocations: 0 / 0.5526 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002046/0.007073, allocations: 288.3 kB / 0.5529 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.78e-05/0.007111, allocations: 63.41 kB / 0.553 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.007117, allocations: 3.984 kB / 0.553 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.007129, allocations: 0 / 0.553 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.835e-05/0.007178, allocations: 4 kB / 0.553 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.007182, allocations: 0 / 0.553 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.648e-05/0.007209, allocations: 11.94 kB / 0.553 GB, free: 3.637 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.007217, allocations: 0 / 0.553 GB, free: 3.637 MB / 0.5105 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 7.526e-05/0.007292, allocations: 151.5 kB / 0.5531 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.007307, allocations: 15.89 kB / 0.5531 GB, free: 3.457 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.02e-05/0.007327, allocations: 7.984 kB / 0.5531 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.00733, allocations: 0 / 0.5531 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.007337, allocations: 0 / 0.5531 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.007341, allocations: 4 kB / 0.5532 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.00745, allocations: 132.8 kB / 0.5533 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.007452, allocations: 3.938 kB / 0.5533 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.539e-05/0.007467, allocations: 7.984 kB / 0.5533 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.007468, allocations: 0 / 0.5533 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.007477, allocations: 0 / 0.5533 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.007478, allocations: 4 kB / 0.5533 GB, free: 3.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.007479, allocations: 4 kB / 0.5533 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.007652, allocations: 274.9 kB / 0.5536 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-06/0.00766, allocations: 7.922 kB / 0.5536 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.007672, allocations: 4 kB / 0.5536 GB, free: 2.938 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.471e-05/0.007706, allocations: 11.94 kB / 0.5536 GB, free: 2.926 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.007778, allocations: 7.922 kB / 0.5536 GB, free: 2.918 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.007783, allocations: 7.938 kB / 0.5536 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.42e-05/0.007817, allocations: 99.27 kB / 0.5537 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.007817, allocations: 0 / 0.5537 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002198/0.008037, allocations: 51.94 kB / 0.5537 GB, free: 2.762 MB / 0.5105 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.0004523/0.008489, allocations: 0.8796 MB / 0.5546 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002792/0.008768, allocations: 319.8 kB / 0.5549 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.008771, allocations: 7.938 kB / 0.5549 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.479e-05/0.008846, allocations: 125.1 kB / 0.555 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.008998, allocations: 8 kB / 0.555 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.01051, allocations: 2.035 MB / 0.557 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.256e-05/0.01056, allocations: 75.56 kB / 0.5571 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.417e-05/0.01057, allocations: 0 / 0.5571 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.01061, allocations: 20.48 kB / 0.5571 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of SimCode: time 8.51e-07/0.01061, allocations: 0 / 0.5571 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01591/0.02652, allocations: 3.479 MB / 0.5605 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.667/6.693, allocations: 14.47 kB / 0.5605 GB, free: 11.76 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.437789968214929] Failed to read output from testmodel.py, exit status != 0: 6.772236446850002 6.781068687 6.774288471 Calling exit ...