Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001299/0.001299, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.001492/0.001492, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.409/1.409, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.002422/0.002422, allocations: 299.9 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.168/1.168, allocations: 180.9 MB / 0.5333 GB, free: 14.04 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_DerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",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.002785/0.002785, allocations: 109.7 kB / 0.7343 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1656, allocations: 95.34 MB / 0.8274 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002346/0.168, allocations: 1.29 MB / 0.8286 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.169, allocations: 0.6169 MB / 0.8292 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.316e-05/0.1691, allocations: 0 / 0.8292 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.1691, allocations: 0 / 0.8292 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.804e-05/0.1691, allocations: 11.92 kB / 0.8292 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005369/0.1697, allocations: 143.4 kB / 0.8294 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.522e-05/0.1697, allocations: 15.92 kB / 0.8294 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.517e-05/0.1698, allocations: 8 kB / 0.8294 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.86e-05/0.1698, allocations: 15.92 kB / 0.8294 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.345e-05/0.1699, allocations: 3.984 kB / 0.8294 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.1699, allocations: 4 kB / 0.8294 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004878/0.1704, allocations: 343.3 kB / 0.8297 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.1704, allocations: 8 kB / 0.8297 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.1704, allocations: 7.938 kB / 0.8298 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.1707, allocations: 143.8 kB / 0.8299 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1707, allocations: 0 / 0.8299 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1707, allocations: 0 / 0.8299 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.1707, allocations: 3.984 kB / 0.8299 GB, free: 7.348 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004539/0.1711, allocations: 363.1 kB / 0.8302 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1712, allocations: 11.97 kB / 0.8302 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/0.1712, allocations: 34.75 kB / 0.8303 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.1712, allocations: 8.891 kB / 0.8303 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.1714, allocations: 164.4 kB / 0.8304 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1714, allocations: 4.375 kB / 0.8305 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.1714, allocations: 4.312 kB / 0.8305 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.1715, allocations: 46.19 kB / 0.8305 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1715, allocations: 3.938 kB / 0.8305 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.1715, allocations: 4 kB / 0.8305 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1715, allocations: 0 / 0.8305 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.943e-05/0.1716, allocations: 8 kB / 0.8305 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/0.1718, allocations: 161.7 kB / 0.8307 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.172, allocations: 38.61 kB / 0.8307 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.892e-05/0.172, allocations: 24.92 kB / 0.8307 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.172, allocations: 0 / 0.8307 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.172, allocations: 38.5 kB / 0.8308 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.172, allocations: 0 / 0.8308 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0006417/0.1727, allocations: 314.2 kB / 0.8311 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.1727, allocations: 51.41 kB / 0.8311 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.534e-05/0.1728, allocations: 101.8 kB / 0.8312 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.1728, allocations: 25.7 kB / 0.8312 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.1729, allocations: 84.14 kB / 0.8313 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.1729, allocations: 23.8 kB / 0.8313 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.1729, allocations: 21.7 kB / 0.8314 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1731, allocations: 314.8 kB / 0.8317 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.744e-05/0.1731, allocations: 12 kB / 0.8317 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.453e-05/0.1731, allocations: 15.98 kB / 0.8317 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.812e-05/0.1732, allocations: 28.8 kB / 0.8317 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.1732, allocations: 4 kB / 0.8317 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001023/0.1733, allocations: 69.61 kB / 0.8318 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1733, allocations: 12 kB / 0.8318 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1733, allocations: 0 / 0.8318 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1733, allocations: 0 / 0.8318 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.436e-05/0.1734, allocations: 16.05 kB / 0.8318 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1734, allocations: 0 / 0.8318 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.997e-05/0.1734, allocations: 4 kB / 0.8318 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.1734, allocations: 0 / 0.8318 GB, free: 5.094 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 (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 8.123e-05/0.1735, allocations: 113.8 kB / 0.8319 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.1735, allocations: 7.875 kB / 0.8319 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.1736, allocations: 77.59 kB / 0.832 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.1736, allocations: 4 kB / 0.832 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1736, allocations: 3.938 kB / 0.832 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1736, allocations: 0 / 0.832 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/0.174, allocations: 311.4 kB / 0.8323 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.174, allocations: 0 / 0.8323 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.704e-05/0.174, allocations: 16 kB / 0.8323 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.174, allocations: 0 / 0.8323 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1741, allocations: 3.984 kB / 0.8323 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1741, allocations: 4.031 kB / 0.8323 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1741, allocations: 0 / 0.8323 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.1743, allocations: 180.3 kB / 0.8325 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-05/0.1743, allocations: 85.05 kB / 0.8326 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.1743, allocations: 4.031 kB / 0.8326 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.89e-05/0.1744, allocations: 0 / 0.8326 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.1744, allocations: 12.06 kB / 0.8326 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-06/0.1744, allocations: 0 / 0.8326 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.1e-05/0.1745, allocations: 87.72 kB / 0.8327 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.1745, allocations: 0 / 0.8327 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002474/0.1747, allocations: 23.88 kB / 0.8327 GB, free: 4.066 MB / 0.5762 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.0005824/0.1753, allocations: 0.7446 MB / 0.8334 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.1754, allocations: 31.98 kB / 0.8335 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1754, allocations: 0 / 0.8335 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.351e-05/0.1755, allocations: 15.94 kB / 0.8335 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.1757, allocations: 9.719 kB / 0.8335 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.177, allocations: 1.316 MB / 0.8348 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.1773, allocations: 0.6846 MB / 0.8354 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.576e-05/0.1773, allocations: 4 kB / 0.8354 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.1774, allocations: 11.44 kB / 0.8355 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.1774, allocations: 4 kB / 0.8355 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.2038, allocations: 1.642 MB / 0.8371 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.811/8.015, allocations: 5.344 kB / 0.8371 GB, free: 15.65 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.052187744062394] Failed to read output from testmodel.py, exit status != 0: 8.080950109288096 8.096128837 7.922624314 Calling exit ...