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.001089/0.001089, allocations: 68.47 kB / 19.16 MB, free: 0.7266 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.0008228/0.0008228, allocations: 169.9 kB / 22.46 MB, free: 2.082 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.8991/0.8991, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.5247/0.5247, allocations: 110.2 MB / 369.4 MB, free: 12.63 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 2.004e-06/2.004e-06, allocations: 0 / 0.5473 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.535e-05, allocations: 6.219 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.002094/0.002119, allocations: 1.451 MB / 0.5487 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.003213, allocations: 0.7799 MB / 0.5495 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.003267, allocations: 0 / 0.5495 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 7.508e-05/0.003342, allocations: 3.938 kB / 0.5495 GB, free: 7.566 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.199e-05/0.003394, allocations: 7.984 kB / 0.5495 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006319/0.004026, allocations: 182.5 kB / 0.5497 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.004131, allocations: 43.98 kB / 0.5497 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 7.647e-05/0.004207, allocations: 7.922 kB / 0.5497 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.638e-05/0.004253, allocations: 23.98 kB / 0.5497 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.118e-05/0.004295, allocations: 11.98 kB / 0.5497 GB, free: 7.297 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.004308, allocations: 8 kB / 0.5497 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.004552, allocations: 207.7 kB / 0.5499 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.457e-05/0.004596, allocations: 19.91 kB / 0.55 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.004625, allocations: 12 kB / 0.55 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.004843, allocations: 243.3 kB / 0.5502 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004845, allocations: 0 / 0.5502 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.292e-06/0.004846, allocations: 0 / 0.5502 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.004851, allocations: 0 / 0.5502 GB, free: 6.816 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.0003581/0.005209, allocations: 353.4 kB / 0.5505 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.005244, allocations: 12.61 kB / 0.5506 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.271e-05/0.005266, allocations: 34.75 kB / 0.5506 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.005294, allocations: 8.891 kB / 0.5506 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.581e-05/0.00537, allocations: 117.6 kB / 0.5507 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.005379, allocations: 384 / 0.5507 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.005391, allocations: 8.375 kB / 0.5507 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.005547, allocations: 107.9 kB / 0.5508 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.005553, allocations: 192 / 0.5508 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.005561, allocations: 4.125 kB / 0.5508 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.005565, allocations: 0 / 0.5508 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.034e-05/0.005636, allocations: 85.59 kB / 0.5509 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002786/0.005914, allocations: 232 kB / 0.5511 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.006047, allocations: 92.19 kB / 0.5512 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.555e-05/0.006112, allocations: 78.55 kB / 0.5513 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.006126, allocations: 0 / 0.5513 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.006143, allocations: 30.56 kB / 0.5513 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 5.61e-07/0.006144, allocations: 0 / 0.5513 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002571/0.006401, allocations: 246.6 kB / 0.5516 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.006442, allocations: 85.11 kB / 0.5516 GB, free: 5.141 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.008e-05/0.006512, allocations: 125.9 kB / 0.5518 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.006523, allocations: 29.7 kB / 0.5518 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.006558, allocations: 92.11 kB / 0.5519 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.084e-05/0.006569, allocations: 7.953 kB / 0.5519 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.006599, allocations: 17.72 kB / 0.5519 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.514e-05/0.006664, allocations: 318.8 kB / 0.5522 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.647e-05/0.006741, allocations: 115.4 kB / 0.5523 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.709e-05/0.006808, allocations: 119.4 kB / 0.5524 GB, free: 4.273 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.006933, allocations: 201.8 kB / 0.5526 GB, free: 4.055 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.006936, allocations: 3.984 kB / 0.5526 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001825/0.007119, allocations: 284.3 kB / 0.5529 GB, free: 3.742 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.007152, allocations: 67.39 kB / 0.553 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.007157, allocations: 0 / 0.553 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.00717, allocations: 0 / 0.553 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.639e-05/0.007216, allocations: 7.938 kB / 0.553 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.007221, allocations: 0 / 0.553 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.007246, allocations: 11.92 kB / 0.553 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.007256, allocations: 4 kB / 0.553 GB, free: 3.641 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 6.892e-05/0.007325, allocations: 151.5 kB / 0.5531 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.007341, allocations: 11.89 kB / 0.5531 GB, free: 3.465 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.169e-05/0.007362, allocations: 4 kB / 0.5531 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.007364, allocations: 0 / 0.5531 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.007368, allocations: 0 / 0.5531 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.007371, allocations: 0 / 0.5531 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.854e-05/0.00747, allocations: 140.7 kB / 0.5533 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.007471, allocations: 3.938 kB / 0.5533 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.606e-05/0.007487, allocations: 7.938 kB / 0.5533 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.007488, allocations: 0 / 0.5533 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.007496, allocations: 0 / 0.5533 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.007497, allocations: 4 kB / 0.5533 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.007498, allocations: 0 / 0.5533 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.007663, allocations: 278.8 kB / 0.5536 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-06/0.007669, allocations: 8.172 kB / 0.5536 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.00768, allocations: 0 / 0.5536 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.569e-05/0.007715, allocations: 11.98 kB / 0.5536 GB, free: 2.938 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.663e-05/0.007802, allocations: 11.92 kB / 0.5536 GB, free: 2.926 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.007808, allocations: 8 kB / 0.5536 GB, free: 2.918 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.519e-05/0.007843, allocations: 91.27 kB / 0.5537 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.007843, allocations: 0 / 0.5537 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002231/0.008066, allocations: 63.95 kB / 0.5537 GB, free: 2.766 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.0004759/0.008542, allocations: 0.8756 MB / 0.5546 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003193/0.008861, allocations: 323.8 kB / 0.5549 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008863, allocations: 0 / 0.5549 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.234e-05/0.008935, allocations: 133 kB / 0.555 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.009083, allocations: 12.7 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.001357/0.01044, allocations: 2.035 MB / 0.557 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.023e-05/0.01049, allocations: 71.2 kB / 0.5571 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.607e-05/0.01051, allocations: 7.984 kB / 0.5571 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.01054, allocations: 12.5 kB / 0.5571 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of SimCode: time 5.71e-07/0.01054, allocations: 0 / 0.5571 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.02819, allocations: 3.469 MB / 0.5605 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.858/6.886, allocations: 7.344 kB / 0.5605 GB, free: 11.77 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.417807835154235] Failed to read output from testmodel.py, exit status != 0: 6.964923766441643 6.974411086 6.967794627 Calling exit ...