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.0007792/0.0007792, 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.0008867/0.0008867, 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.8853/0.8853, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.5352/0.5352, allocations: 110.2 MB / 369.4 MB, free: 12.6 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.432e-06/1.432e-06, allocations: 0 / 0.5473 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.931e-05, allocations: 6.219 kB / 0.5473 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001746/0.001765, allocations: 1.295 MB / 0.5485 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007022/0.002468, allocations: 0.5486 MB / 0.5491 GB, free: 7.941 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.482e-05/0.002492, allocations: 0 / 0.5491 GB, free: 7.941 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.002508, allocations: 0 / 0.5491 GB, free: 7.941 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.37e-05/0.002542, allocations: 0 / 0.5491 GB, free: 7.941 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.002954, allocations: 154.3 kB / 0.5492 GB, free: 7.793 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.255e-05/0.003007, allocations: 23.86 kB / 0.5493 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.344e-05/0.00304, allocations: 4 kB / 0.5493 GB, free: 7.766 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.411e-05/0.003084, allocations: 15.98 kB / 0.5493 GB, free: 7.75 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.552e-05/0.00312, allocations: 3.984 kB / 0.5493 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.003133, allocations: 4 kB / 0.5493 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.003397, allocations: 271.4 kB / 0.5495 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.003411, allocations: 0 / 0.5495 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.00343, allocations: 7.984 kB / 0.5495 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.003611, allocations: 159.5 kB / 0.5497 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003613, allocations: 0 / 0.5497 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003614, allocations: 0 / 0.5497 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.003617, allocations: 4 kB / 0.5497 GB, free: 7.309 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.0003279/0.003945, allocations: 278 kB / 0.55 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.003981, allocations: 11.97 kB / 0.55 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.875e-05/0.00401, allocations: 34.75 kB / 0.55 GB, free: 6.949 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.526e-05/0.004035, allocations: 4.891 kB / 0.55 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.189e-05/0.004107, allocations: 117.6 kB / 0.5501 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.004118, allocations: 8.375 kB / 0.5501 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.004134, allocations: 384 / 0.5501 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.004241, allocations: 67.95 kB / 0.5502 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.004248, allocations: 192 / 0.5502 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.004255, allocations: 384 / 0.5502 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.004261, allocations: 8.125 kB / 0.5502 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.368e-05/0.004294, allocations: 8 kB / 0.5502 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.004414, allocations: 128.8 kB / 0.5503 GB, free: 6.535 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.004579, allocations: 46.53 kB / 0.5504 GB, free: 6.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/0.004606, allocations: 20.86 kB / 0.5504 GB, free: 6.457 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.004625, allocations: 3.938 kB / 0.5504 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.004652, allocations: 38.64 kB / 0.5504 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.004653, allocations: 0 / 0.5504 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0004583/0.005111, allocations: 229.2 kB / 0.5507 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.005139, allocations: 59.41 kB / 0.5507 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.573e-05/0.005195, allocations: 97.86 kB / 0.5508 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.005205, allocations: 29.69 kB / 0.5508 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.332e-05/0.005229, allocations: 84.08 kB / 0.5509 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.005254, allocations: 27.75 kB / 0.5509 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.005287, allocations: 17.72 kB / 0.551 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.846e-05/0.005366, allocations: 314.8 kB / 0.5513 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.024e-05/0.005386, allocations: 12 kB / 0.5513 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.593e-05/0.005402, allocations: 12 kB / 0.5513 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.383e-05/0.005446, allocations: 32.84 kB / 0.5513 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.005447, allocations: 0 / 0.5513 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.697e-05/0.005514, allocations: 69.67 kB / 0.5514 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.005525, allocations: 8 kB / 0.5514 GB, free: 5.344 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.00553, allocations: 0 / 0.5514 GB, free: 5.344 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.005542, allocations: 3.938 kB / 0.5514 GB, free: 5.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.97e-05/0.005582, allocations: 11.94 kB / 0.5514 GB, free: 5.328 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.005588, allocations: 4 kB / 0.5514 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.006e-05/0.005599, allocations: 0 / 0.5514 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.005603, allocations: 0 / 0.5514 GB, free: 5.324 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.91e-05/0.005662, allocations: 113.8 kB / 0.5515 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-06/0.005669, allocations: 7.922 kB / 0.5515 GB, free: 5.195 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.005773, allocations: 77.75 kB / 0.5516 GB, free: 5.109 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.005776, allocations: 3.938 kB / 0.5516 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.00578, allocations: 0 / 0.5516 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.005783, allocations: 0 / 0.5516 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.006017, allocations: 282.5 kB / 0.5519 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.006021, allocations: 7.938 kB / 0.5519 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.006065, allocations: 11.94 kB / 0.5519 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.006067, allocations: 0 / 0.5519 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.006077, allocations: 8.188 kB / 0.5519 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.006086, allocations: 7.984 kB / 0.5519 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.006087, allocations: 4.031 kB / 0.5519 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.006216, allocations: 168.4 kB / 0.5521 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/0.006237, allocations: 11.92 kB / 0.5521 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.006247, allocations: 4.031 kB / 0.5521 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.143e-05/0.006289, allocations: 0 / 0.5521 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.006302, allocations: 4 kB / 0.5521 GB, free: 4.535 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.006308, allocations: 4.5 kB / 0.5521 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.418e-05/0.006332, allocations: 83.28 kB / 0.5522 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.006332, allocations: 0 / 0.5522 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001708/0.006503, allocations: 23.88 kB / 0.5522 GB, free: 4.426 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.0003628/0.006866, allocations: 0.7444 MB / 0.5529 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.592e-05/0.006952, allocations: 35.92 kB / 0.553 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.006953, allocations: 4 kB / 0.553 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.466e-05/0.006968, allocations: 12 kB / 0.553 GB, free: 3.602 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.007122, allocations: 4.141 kB / 0.553 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.0082, allocations: 1.309 MB / 0.5543 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.289e-05/0.008243, allocations: 67.34 kB / 0.5543 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.288e-05/0.008266, allocations: 3.984 kB / 0.5543 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.008295, allocations: 16.5 kB / 0.5543 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of SimCode: time 6.71e-07/0.008296, allocations: 0 / 0.5543 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.02652, allocations: 2.273 MB / 0.5566 GB, free: 40 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.687/6.713, allocations: 3.938 kB / 0.5566 GB, free: 36 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.277511377818882] Failed to read output from testmodel.py, exit status != 0: 6.792178337462246 6.8015831140000005 6.796164808 Calling exit ...