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.00158/0.00158, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.001694/0.001694, allocations: 216 kB / 22.25 MB, free: 5.215 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.363/1.363, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00251/0.00251, allocations: 292 kB / 312.7 MB, free: 2.809 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.157/1.157, allocations: 180.6 MB / 0.5369 GB, free: 12.89 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.00279/0.00279, allocations: 109.4 kB / 0.7396 GB, free: 28.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1549, allocations: 95.38 MB / 0.8327 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002631/0.1576, allocations: 1.502 MB / 0.8342 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.1587, allocations: 0.64 MB / 0.8348 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.09e-05/0.1587, allocations: 0 / 0.8348 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.001e-05/0.1588, allocations: 7.875 kB / 0.8348 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.52e-05/0.1588, allocations: 7.938 kB / 0.8348 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005622/0.1594, allocations: 160.1 kB / 0.835 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.778e-05/0.1594, allocations: 55.78 kB / 0.835 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.1595, allocations: 4 kB / 0.8351 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.082e-05/0.1596, allocations: 23.91 kB / 0.8351 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.945e-05/0.1596, allocations: 27.86 kB / 0.8351 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.1596, allocations: 4 kB / 0.8351 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000524/0.1601, allocations: 351.4 kB / 0.8354 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.1602, allocations: 7.984 kB / 0.8354 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.1602, allocations: 31.8 kB / 0.8355 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.1605, allocations: 175.7 kB / 0.8356 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1605, allocations: 4 kB / 0.8356 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1605, allocations: 0 / 0.8356 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.1605, allocations: 3.938 kB / 0.8357 GB, free: 5.641 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.0005714/0.1611, allocations: 324.2 kB / 0.836 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1611, allocations: 12.75 kB / 0.836 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.32e-05/0.1612, allocations: 38.73 kB / 0.836 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.1612, allocations: 8.891 kB / 0.836 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1613, allocations: 110.5 kB / 0.8361 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.1613, allocations: 12.38 kB / 0.8361 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.1613, allocations: 4.375 kB / 0.8361 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.1616, allocations: 79.59 kB / 0.8362 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1616, allocations: 3.938 kB / 0.8362 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1616, allocations: 7.938 kB / 0.8362 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1616, allocations: 4 kB / 0.8362 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.1618, allocations: 47.95 kB / 0.8363 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005181/0.1623, allocations: 287.8 kB / 0.8366 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.1626, allocations: 82.41 kB / 0.8366 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.1627, allocations: 28.84 kB / 0.8367 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.1627, allocations: 160 / 0.8367 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.1628, allocations: 42.55 kB / 0.8367 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 8.01e-07/0.1628, allocations: 0 / 0.8367 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001508/0.1643, allocations: 0.4995 MB / 0.8372 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.1643, allocations: 55.39 kB / 0.8372 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.452e-05/0.1644, allocations: 105.7 kB / 0.8373 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1644, allocations: 33.7 kB / 0.8374 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.1645, allocations: 88.06 kB / 0.8375 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/0.1645, allocations: 39.73 kB / 0.8375 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.1646, allocations: 33.64 kB / 0.8375 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.1647, allocations: 326.8 kB / 0.8378 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.1648, allocations: 31.92 kB / 0.8379 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.1649, allocations: 31.97 kB / 0.8379 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.1652, allocations: 74.83 kB / 0.838 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1652, allocations: 0 / 0.838 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003031/0.1655, allocations: 125.7 kB / 0.8381 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1655, allocations: 9.875 kB / 0.8381 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1655, allocations: 0 / 0.8381 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1655, allocations: 0 / 0.8381 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.1657, allocations: 27.92 kB / 0.8381 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.1657, allocations: 3.938 kB / 0.8381 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.052e-05/0.1657, allocations: 11.98 kB / 0.8381 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.1657, allocations: 4 kB / 0.8381 GB, free: 2.848 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.183e-05/0.1658, allocations: 118.5 kB / 0.8383 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.1659, allocations: 0 / 0.8383 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003644/0.1662, allocations: 137.5 kB / 0.8384 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1662, allocations: 0 / 0.8384 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1662, allocations: 3.938 kB / 0.8384 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1662, allocations: 0 / 0.8384 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005654/0.1668, allocations: 341.6 kB / 0.8387 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1668, allocations: 4 kB / 0.8387 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.167, allocations: 31.92 kB / 0.8388 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.167, allocations: 11.92 kB / 0.8388 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.167, allocations: 0 / 0.8388 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.167, allocations: 3.938 kB / 0.8388 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.167, allocations: 0 / 0.8388 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004829/0.1675, allocations: 251.4 kB / 0.839 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.1675, allocations: 4.031 kB / 0.839 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.1675, allocations: 3.938 kB / 0.839 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.1676, allocations: 7.984 kB / 0.839 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.1676, allocations: 11.98 kB / 0.839 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.1676, allocations: 4 kB / 0.839 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.334e-05/0.1677, allocations: 79.28 kB / 0.8391 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1677, allocations: 0 / 0.8391 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002651/0.1679, allocations: 39.81 kB / 0.8392 GB, free: 1.727 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.000868/0.1688, allocations: 0.8204 MB / 0.84 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003/0.1691, allocations: 83.83 kB / 0.84 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1691, allocations: 4.062 kB / 0.84 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.1692, allocations: 47.95 kB / 0.8401 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.1695, allocations: 8 kB / 0.8401 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.1716, allocations: 1.606 MB / 0.8417 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.172, allocations: 0.6929 MB / 0.8423 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.565e-05/0.172, allocations: 20.59 kB / 0.8424 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.756e-05/0.1721, allocations: 19.44 kB / 0.8424 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.1721, allocations: 0 / 0.8424 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.2017, allocations: 2.49 MB / 0.8448 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.984/10.19, allocations: 5.953 kB / 0.8448 GB, free: 11.99 MB / 0.5919 GB " [Timeout remaining time 650] (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: 14.109807386998] Failed to read output from testmodel.py, exit status != 0: 10.285870641997462 10.306395326 10.142015043 Calling exit ...