Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001313/0.001313, allocations: 108.1 kB / 16.45 MB, free: 6.453 MB / 14.72 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.00149/0.00149, allocations: 215.2 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.419/1.419, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002484/0.002484, allocations: 284.3 kB / 309.1 MB, free: 3.969 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.184/1.184, allocations: 180.9 MB / 0.5333 GB, free: 13.73 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002767/0.002767, allocations: 103 kB / 0.7342 GB, free: 28.56 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.167, allocations: 95.35 MB / 0.8274 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002545/0.1695, allocations: 1.296 MB / 0.8286 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.1706, allocations: 0.617 MB / 0.8292 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.1707, allocations: 0 / 0.8292 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/0.1707, allocations: 3.938 kB / 0.8292 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.416e-05/0.1707, allocations: 7.969 kB / 0.8292 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005667/0.1713, allocations: 151.4 kB / 0.8294 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.631e-05/0.1714, allocations: 35.84 kB / 0.8294 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.1714, allocations: 0 / 0.8294 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.331e-05/0.1714, allocations: 19.92 kB / 0.8294 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.1715, allocations: 11.92 kB / 0.8294 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.1715, allocations: 4 kB / 0.8295 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005071/0.172, allocations: 339.4 kB / 0.8298 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.172, allocations: 11.94 kB / 0.8298 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.1721, allocations: 11.94 kB / 0.8298 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.1723, allocations: 163.7 kB / 0.83 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1723, allocations: 0 / 0.83 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1723, allocations: 0 / 0.83 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.1723, allocations: 0 / 0.83 GB, free: 7.211 MB / 0.5762 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.000484/0.1728, allocations: 363.1 kB / 0.8303 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1729, allocations: 8.625 kB / 0.8303 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.439e-05/0.1729, allocations: 42.69 kB / 0.8304 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.173, allocations: 4.891 kB / 0.8304 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.1731, allocations: 172.3 kB / 0.8305 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1731, allocations: 4.375 kB / 0.8305 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.1732, allocations: 8.375 kB / 0.8305 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.1733, allocations: 50.17 kB / 0.8306 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.1733, allocations: 7.938 kB / 0.8306 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.1733, allocations: 0 / 0.8306 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1733, allocations: 0 / 0.8306 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.802e-05/0.1734, allocations: 23.92 kB / 0.8306 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.1736, allocations: 169.6 kB / 0.8308 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.1737, allocations: 62.55 kB / 0.8308 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.229e-05/0.1737, allocations: 24.86 kB / 0.8309 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.1737, allocations: 0 / 0.8309 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.1738, allocations: 34.55 kB / 0.8309 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.1738, allocations: 0 / 0.8309 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001207/0.175, allocations: 0.584 MB / 0.8315 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.175, allocations: 63.33 kB / 0.8315 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.131e-05/0.1751, allocations: 93.86 kB / 0.8316 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.1751, allocations: 29.7 kB / 0.8316 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.1752, allocations: 80.14 kB / 0.8317 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.1752, allocations: 43.77 kB / 0.8318 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.1752, allocations: 29.72 kB / 0.8318 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1754, allocations: 314.8 kB / 0.8321 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.64e-05/0.1754, allocations: 23.98 kB / 0.8321 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.216e-05/0.1755, allocations: 23.88 kB / 0.8321 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.997e-05/0.1756, allocations: 60.84 kB / 0.8322 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.1756, allocations: 0 / 0.8322 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001535/0.1757, allocations: 89.62 kB / 0.8323 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1757, allocations: 4.094 kB / 0.8323 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1757, allocations: 15.88 kB / 0.8323 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1757, allocations: 0 / 0.8323 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.1759, allocations: 23.98 kB / 0.8323 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1759, allocations: 3.984 kB / 0.8323 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/0.1759, allocations: 4 kB / 0.8323 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1759, allocations: 0 / 0.8323 GB, free: 4.469 MB / 0.5762 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 8.331e-05/0.176, allocations: 113.8 kB / 0.8324 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.176, allocations: 11.89 kB / 0.8324 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.1762, allocations: 109.5 kB / 0.8325 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1762, allocations: 4 kB / 0.8326 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.1762, allocations: 4 kB / 0.8326 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1762, allocations: 3.984 kB / 0.8326 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000421/0.1766, allocations: 350.7 kB / 0.8329 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1766, allocations: 7.938 kB / 0.8329 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.1768, allocations: 23.98 kB / 0.8329 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1768, allocations: 0 / 0.8329 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1768, allocations: 4 kB / 0.8329 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1768, allocations: 0 / 0.8329 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1768, allocations: 4 kB / 0.8329 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.1771, allocations: 219.5 kB / 0.8331 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.1771, allocations: 85.05 kB / 0.8332 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.1771, allocations: 4.031 kB / 0.8332 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-05/0.1772, allocations: 3.938 kB / 0.8332 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.1772, allocations: 11.98 kB / 0.8332 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.1772, allocations: 4 kB / 0.8332 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.214e-05/0.1773, allocations: 79.34 kB / 0.8333 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1773, allocations: 0 / 0.8333 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002734/0.1776, allocations: 43.75 kB / 0.8334 GB, free: 3.297 MB / 0.5762 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.0006906/0.1782, allocations: 0.7787 MB / 0.8341 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001829/0.1784, allocations: 59.84 kB / 0.8342 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1784, allocations: 4.156 kB / 0.8342 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.534e-05/0.1785, allocations: 35.92 kB / 0.8342 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.1787, allocations: 8 kB / 0.8342 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.1804, allocations: 1.495 MB / 0.8357 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.1807, allocations: 0.6891 MB / 0.8364 GB, free: 104 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.822e-05/0.1807, allocations: 8.062 kB / 0.8364 GB, free: 96 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.1808, allocations: 23.42 kB / 0.8364 GB, free: 72 kB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.1808, allocations: 3.938 kB / 0.8364 GB, free: 68 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/0.2095, allocations: 2.102 MB / 0.8384 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.989/8.198, allocations: 8.031 kB / 0.8385 GB, free: 14.15 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.2655760939233] Failed to read output from testmodel.py, exit status != 0: 8.266769143752754 8.293946241 8.116167823 Calling exit ...