Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.0007781/0.0007781, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008992/0.0008992, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8996/0.8996, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.5465/0.5465, allocations: 110.2 MB / 369.4 MB, free: 12.64 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.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.5473 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.279e-05, allocations: 2.281 kB / 0.5473 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001543/0.001556, allocations: 1.286 MB / 0.5485 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006686/0.002224, allocations: 0.5526 MB / 0.5491 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.002249, allocations: 0 / 0.5491 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.002266, allocations: 0 / 0.5491 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.636e-05/0.002302, allocations: 3.938 kB / 0.5491 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.002751, allocations: 157.7 kB / 0.5492 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.397e-05/0.002815, allocations: 15.92 kB / 0.5492 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.002856, allocations: 0 / 0.5492 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.577e-05/0.002912, allocations: 15.98 kB / 0.5493 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.537e-05/0.002957, allocations: 7.984 kB / 0.5493 GB, free: 7.766 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.002973, allocations: 0 / 0.5493 GB, free: 7.766 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.003267, allocations: 275.4 kB / 0.5495 GB, free: 7.496 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.003282, allocations: 3.938 kB / 0.5495 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.76e-05/0.0033, allocations: 4 kB / 0.5495 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.003498, allocations: 159.5 kB / 0.5497 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.003501, allocations: 3.984 kB / 0.5497 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003502, allocations: 4 kB / 0.5497 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.003506, allocations: 0 / 0.5497 GB, free: 7.324 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.0003097/0.003815, allocations: 278 kB / 0.55 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.003852, allocations: 12.03 kB / 0.55 GB, free: 7.008 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.485e-05/0.003877, allocations: 30.75 kB / 0.55 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.447e-05/0.003902, allocations: 4.891 kB / 0.55 GB, free: 6.965 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.344e-05/0.003975, allocations: 121.7 kB / 0.5501 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.003985, allocations: 384 / 0.5501 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.004003, allocations: 4.375 kB / 0.5501 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.814e-05/0.004101, allocations: 63.95 kB / 0.5502 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.004107, allocations: 4.188 kB / 0.5502 GB, free: 6.738 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.004114, allocations: 384 / 0.5502 GB, free: 6.738 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.004121, allocations: 8.125 kB / 0.5502 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.242e-05/0.004153, allocations: 7.984 kB / 0.5502 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001252/0.004278, allocations: 132.8 kB / 0.5503 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.00443, allocations: 42.5 kB / 0.5504 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.462e-05/0.004455, allocations: 12.86 kB / 0.5504 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.004472, allocations: 7.938 kB / 0.5504 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.004491, allocations: 34.64 kB / 0.5504 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.004492, allocations: 0 / 0.5504 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0004634/0.004956, allocations: 237.2 kB / 0.5507 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.004982, allocations: 51.41 kB / 0.5507 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.689e-05/0.005029, allocations: 97.86 kB / 0.5508 GB, free: 6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.005038, allocations: 25.7 kB / 0.5508 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.635e-05/0.005064, allocations: 84.12 kB / 0.5509 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.005088, allocations: 27.75 kB / 0.5509 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.005115, allocations: 21.66 kB / 0.5509 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.74e-05/0.005192, allocations: 318.8 kB / 0.5512 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.005212, allocations: 11.94 kB / 0.5513 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.531e-05/0.005227, allocations: 12 kB / 0.5513 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.289e-05/0.00527, allocations: 36.84 kB / 0.5513 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.00527, allocations: 0 / 0.5513 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.317e-05/0.005334, allocations: 65.69 kB / 0.5514 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.005345, allocations: 7.984 kB / 0.5514 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.00535, allocations: 0 / 0.5514 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.00536, allocations: 3.938 kB / 0.5514 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.519e-05/0.005396, allocations: 15.94 kB / 0.5514 GB, free: 5.348 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.0054, allocations: 64 / 0.5514 GB, free: 5.348 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.106e-05/0.005411, allocations: 4 kB / 0.5514 GB, free: 5.344 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.005417, allocations: 4 kB / 0.5514 GB, free: 5.34 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 5.644e-05/0.005473, allocations: 113.8 kB / 0.5515 GB, free: 5.219 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-06/0.00548, allocations: 7.938 kB / 0.5515 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.54e-05/0.005576, allocations: 69.8 kB / 0.5516 GB, free: 5.133 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.005578, allocations: 3.938 kB / 0.5516 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.005582, allocations: 0 / 0.5516 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.005584, allocations: 0 / 0.5516 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.005814, allocations: 286.5 kB / 0.5519 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.005816, allocations: 3.938 kB / 0.5519 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.571e-05/0.005852, allocations: 12 kB / 0.5519 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.005854, allocations: 4 kB / 0.5519 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.005859, allocations: 4.031 kB / 0.5519 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.00586, allocations: 0 / 0.5519 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.005862, allocations: 7.922 kB / 0.5519 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.005983, allocations: 168.9 kB / 0.5521 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.535e-05/0.005998, allocations: 15.95 kB / 0.5521 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.717e-06/0.006007, allocations: 0 / 0.5521 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.148e-05/0.006049, allocations: 0 / 0.5521 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.006062, allocations: 4 kB / 0.5521 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.006066, allocations: 4 kB / 0.5521 GB, free: 4.559 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.535e-05/0.006091, allocations: 87.25 kB / 0.5522 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.006092, allocations: 0 / 0.5522 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001781/0.00627, allocations: 24 kB / 0.5522 GB, free: 4.449 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.0003466/0.006616, allocations: 0.7535 MB / 0.5529 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.034e-05/0.006697, allocations: 39.92 kB / 0.553 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.006698, allocations: 0 / 0.553 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.675e-05/0.006715, allocations: 16 kB / 0.553 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.006865, allocations: 0 / 0.553 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007935/0.007659, allocations: 1.309 MB / 0.5543 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.075e-05/0.0077, allocations: 63.34 kB / 0.5543 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.077e-05/0.00772, allocations: 4 kB / 0.5543 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.007747, allocations: 20.48 kB / 0.5543 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of SimCode: time 4.91e-07/0.007748, allocations: 4.062 kB / 0.5543 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.0254, allocations: 2.248 MB / 0.5565 GB, free: 64 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.78/6.805, allocations: 14.3 kB / 0.5565 GB, free: 56 kB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.407039631158113] Failed to read output from testmodel.py, exit status != 0: 6.887120420113206 6.899315789 6.893301092 Calling exit ...