Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.0007732/0.0007732, allocations: 79.69 kB / 19.25 MB, free: 0.6211 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.000907/0.000907, allocations: 162 kB / 22.56 MB, free: 1.965 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.8479/0.8479, allocations: 177.1 MB / 202.9 MB, free: 5.711 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.5279/0.5279, allocations: 110.2 MB / 369.6 MB, free: 12.62 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_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.5475 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.65e-05, allocations: 6.219 kB / 0.5475 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001879/0.001896, allocations: 1.3 MB / 0.5488 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0008237/0.00272, allocations: 0.5564 MB / 0.5493 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.229e-05/0.002752, allocations: 0 / 0.5493 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.002771, allocations: 7.922 kB / 0.5493 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.335e-05/0.002804, allocations: 0 / 0.5493 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.003279, allocations: 151.2 kB / 0.5494 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.827e-05/0.003337, allocations: 31.84 kB / 0.5495 GB, free: 7.695 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.003379, allocations: 0 / 0.5495 GB, free: 7.695 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.664e-05/0.003416, allocations: 19.98 kB / 0.5495 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.472e-05/0.00347, allocations: 7.984 kB / 0.5495 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.003483, allocations: 4 kB / 0.5495 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003289/0.003812, allocations: 275.4 kB / 0.5498 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.003831, allocations: 4 kB / 0.5498 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.003854, allocations: 11.94 kB / 0.5498 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.004055, allocations: 167.5 kB / 0.5499 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004057, allocations: 0 / 0.5499 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004058, allocations: 4 kB / 0.5499 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.004064, allocations: 0 / 0.5499 GB, free: 7.211 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003152/0.004379, allocations: 290 kB / 0.5502 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.00442, allocations: 8.625 kB / 0.5502 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.256e-05/0.004452, allocations: 38.75 kB / 0.5503 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.004479, allocations: 12.89 kB / 0.5503 GB, free: 6.828 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.199e-05/0.004561, allocations: 105.8 kB / 0.5504 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.004571, allocations: 4.375 kB / 0.5504 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.004594, allocations: 8.375 kB / 0.5504 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.004707, allocations: 97.59 kB / 0.5505 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.004717, allocations: 4.188 kB / 0.5505 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.004726, allocations: 4.375 kB / 0.5505 GB, free: 6.566 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.004731, allocations: 4.125 kB / 0.5505 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.447e-05/0.004776, allocations: 19.98 kB / 0.5505 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.004925, allocations: 140.7 kB / 0.5507 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.579e-05/0.005011, allocations: 50.56 kB / 0.5507 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.005041, allocations: 28.84 kB / 0.5507 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.00506, allocations: 4.172 kB / 0.5507 GB, free: 6.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.00508, allocations: 38.56 kB / 0.5508 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.005081, allocations: 0 / 0.5508 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0007647/0.005845, allocations: 455.6 kB / 0.5512 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.005871, allocations: 55.41 kB / 0.5513 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.495e-05/0.005916, allocations: 93.86 kB / 0.5513 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.005927, allocations: 25.7 kB / 0.5514 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.894e-05/0.005955, allocations: 88.14 kB / 0.5515 GB, free: 5.434 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.006001, allocations: 47.56 kB / 0.5515 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.006044, allocations: 29.7 kB / 0.5515 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.858e-05/0.006132, allocations: 310.8 kB / 0.5518 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-05/0.006174, allocations: 27.98 kB / 0.5519 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.307e-05/0.006207, allocations: 20 kB / 0.5519 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.821e-05/0.006276, allocations: 63.91 kB / 0.5519 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.006277, allocations: 4.125 kB / 0.5519 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001037/0.00638, allocations: 93.62 kB / 0.552 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.006393, allocations: 11.94 kB / 0.552 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.006398, allocations: 0 / 0.552 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.006408, allocations: 0 / 0.552 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.894e-05/0.006487, allocations: 19.98 kB / 0.5521 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.006493, allocations: 4 kB / 0.5521 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.376e-05/0.006507, allocations: 0 / 0.5521 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.006514, allocations: 8 kB / 0.5521 GB, free: 4.785 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 (13): * Single equations (assignments): 13 * 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.239e-05/0.006567, allocations: 113.8 kB / 0.5522 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-06/0.006576, allocations: 11.95 kB / 0.5522 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.006707, allocations: 101.7 kB / 0.5523 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.006708, allocations: 4 kB / 0.5523 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.006712, allocations: 0 / 0.5523 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.006715, allocations: 0 / 0.5523 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.006985, allocations: 321.5 kB / 0.5526 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.006987, allocations: 0 / 0.5526 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.178e-05/0.007049, allocations: 23.98 kB / 0.5526 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.007051, allocations: 4 kB / 0.5526 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.007059, allocations: 4 kB / 0.5526 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.00706, allocations: 0 / 0.5526 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.007061, allocations: 4 kB / 0.5526 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.00723, allocations: 227.6 kB / 0.5528 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-06/0.007237, allocations: 7.984 kB / 0.5529 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.007249, allocations: 4.031 kB / 0.5529 GB, free: 3.891 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.756e-05/0.007297, allocations: 0 / 0.5529 GB, free: 3.891 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.007315, allocations: 11.98 kB / 0.5529 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.007321, allocations: 4 kB / 0.5529 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.992e-05/0.007341, allocations: 75.28 kB / 0.5529 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.007341, allocations: 0 / 0.5529 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001893/0.00753, allocations: 35.88 kB / 0.553 GB, free: 3.766 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0003796/0.00791, allocations: 0.7943 MB / 0.5538 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.00801, allocations: 51.98 kB / 0.5538 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.008012, allocations: 0 / 0.5538 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.131e-05/0.008043, allocations: 35.92 kB / 0.5538 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.008191, allocations: 8 kB / 0.5538 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009193/0.009111, allocations: 1.458 MB / 0.5553 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.487e-05/0.009155, allocations: 71.41 kB / 0.5553 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.192e-05/0.009187, allocations: 19.97 kB / 0.5554 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.009221, allocations: 16.5 kB / 0.5554 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of SimCode: time 5.91e-07/0.009222, allocations: 0 / 0.5554 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.02654, allocations: 2.734 MB / 0.558 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.655/6.682, allocations: 8.062 kB / 0.5581 GB, free: 14.67 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_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_DerivativeCheck2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.1318754022941] Failed to read output from testmodel.py, exit status != 0: 6.758743954822421 6.76645764 6.7608460599999995 Calling exit ...