Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001553/0.001553, allocations: 107.7 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.001702/0.001702, 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.413/1.413, allocations: 230.6 MB / 252.8 MB, free: 8.938 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.002432/0.002432, allocations: 297.4 kB / 309.1 MB, free: 3.93 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.19/1.19, allocations: 180.9 MB / 0.5333 GB, free: 13.76 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_m_flow_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.002827/0.002827, allocations: 111.6 kB / 0.7343 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1698, allocations: 95.34 MB / 0.8274 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002787/0.1726, allocations: 1.487 MB / 0.8288 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1738, allocations: 0.6438 MB / 0.8294 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/0.1738, allocations: 0 / 0.8294 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.311e-05/0.1738, allocations: 7.922 kB / 0.8294 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.284e-05/0.1739, allocations: 7.922 kB / 0.8295 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005339/0.1744, allocations: 151.4 kB / 0.8296 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.229e-05/0.1745, allocations: 55.89 kB / 0.8297 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.1746, allocations: 4 kB / 0.8297 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.749e-05/0.1746, allocations: 23.92 kB / 0.8297 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.545e-05/0.1747, allocations: 31.78 kB / 0.8297 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.1747, allocations: 4 kB / 0.8297 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004984/0.1752, allocations: 339.4 kB / 0.83 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.1752, allocations: 19.97 kB / 0.8301 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.1752, allocations: 23.86 kB / 0.8301 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.1755, allocations: 179.6 kB / 0.8303 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1755, allocations: 0 / 0.8303 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1755, allocations: 0 / 0.8303 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.1755, allocations: 4 kB / 0.8303 GB, free: 6.973 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006964/0.1762, allocations: 398.9 kB / 0.8306 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1763, allocations: 8.625 kB / 0.8306 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.888e-05/0.1763, allocations: 42.69 kB / 0.8307 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.1764, allocations: 8.891 kB / 0.8307 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.1765, allocations: 168.3 kB / 0.8309 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.1765, allocations: 8.375 kB / 0.8309 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.1766, allocations: 8.375 kB / 0.8309 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.1768, allocations: 82.22 kB / 0.8309 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.1768, allocations: 7.938 kB / 0.831 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1768, allocations: 0 / 0.831 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.1768, allocations: 3.984 kB / 0.831 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002448/0.1771, allocations: 55.77 kB / 0.831 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/0.1777, allocations: 332.7 kB / 0.8313 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.178, allocations: 78.47 kB / 0.8314 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.1781, allocations: 28.84 kB / 0.8314 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.1781, allocations: 0 / 0.8314 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.1781, allocations: 38.55 kB / 0.8315 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.1781, allocations: 0 / 0.8315 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001739/0.1799, allocations: 0.6539 MB / 0.8321 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.1799, allocations: 55.39 kB / 0.8322 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.502e-05/0.18, allocations: 101.8 kB / 0.8323 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.18, allocations: 29.7 kB / 0.8323 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.1801, allocations: 88.08 kB / 0.8324 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.1801, allocations: 39.64 kB / 0.8324 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.375e-05/0.1802, allocations: 33.7 kB / 0.8324 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1803, allocations: 314.8 kB / 0.8327 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.1805, allocations: 35.98 kB / 0.8328 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.1806, allocations: 35.91 kB / 0.8328 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.1808, allocations: 68.83 kB / 0.8329 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1808, allocations: 0 / 0.8329 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003341/0.1812, allocations: 117.7 kB / 0.833 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1812, allocations: 8 kB / 0.833 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1812, allocations: 4 kB / 0.833 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1812, allocations: 0 / 0.833 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.1814, allocations: 27.92 kB / 0.833 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.1814, allocations: 3.938 kB / 0.833 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.965e-05/0.1815, allocations: 11.98 kB / 0.833 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.1815, allocations: 4 kB / 0.833 GB, free: 3.797 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 9.591e-05/0.1816, allocations: 113.8 kB / 0.8332 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.1816, allocations: 7.953 kB / 0.8332 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004085/0.182, allocations: 137.4 kB / 0.8333 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.182, allocations: 0 / 0.8333 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.182, allocations: 7.938 kB / 0.8333 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.182, allocations: 0 / 0.8333 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006418/0.1827, allocations: 374.5 kB / 0.8337 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1827, allocations: 3.938 kB / 0.8337 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.1828, allocations: 35.91 kB / 0.8337 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.1828, allocations: 7.938 kB / 0.8337 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1828, allocations: 0 / 0.8337 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1828, allocations: 0 / 0.8337 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1828, allocations: 0 / 0.8337 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005324/0.1834, allocations: 247.7 kB / 0.8339 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.1834, allocations: 81.39 kB / 0.834 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.1835, allocations: 7.938 kB / 0.834 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.1836, allocations: 11.98 kB / 0.834 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.1836, allocations: 11.98 kB / 0.834 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.1836, allocations: 7.984 kB / 0.8341 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.564e-05/0.1837, allocations: 83.28 kB / 0.8341 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1837, allocations: 0 / 0.8341 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002803/0.1839, allocations: 35.81 kB / 0.8342 GB, free: 2.535 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0009548/0.1849, allocations: 0.8176 MB / 0.835 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003409/0.1852, allocations: 79.83 kB / 0.835 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.1852, allocations: 4 kB / 0.835 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.1854, allocations: 44.03 kB / 0.8351 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.1857, allocations: 12.59 kB / 0.8351 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.1879, allocations: 1.593 MB / 0.8367 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.1883, allocations: 0.6974 MB / 0.8373 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.758e-05/0.1883, allocations: 16.59 kB / 0.8374 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.1884, allocations: 19.44 kB / 0.8374 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.1884, allocations: 4 kB / 0.8374 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.2167, allocations: 2.384 MB / 0.8397 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/8.286, allocations: 5.891 kB / 0.8397 GB, free: 12.94 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.340397585649043] Failed to read output from testmodel.py, exit status != 0: 8.3513523186557 8.366799809 8.188102877 Calling exit ...