Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001365/0.001365, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.00141/0.00141, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.433/1.433, allocations: 230.6 MB / 252.8 MB, free: 9.098 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8351/0.8351, allocations: 133.9 MB / 442.8 MB, free: 11.24 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001991/0.001991, allocations: 66.38 kB / 0.6134 GB, free: 8.695 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1701, allocations: 85.86 MB / 0.6973 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002473/0.1726, allocations: 1.294 MB / 0.6985 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.1737, allocations: 0.6231 MB / 0.6991 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.1738, allocations: 0 / 0.6991 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.1738, allocations: 0 / 0.6991 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.145e-05/0.1738, allocations: 3.938 kB / 0.6991 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006007/0.1744, allocations: 152.4 kB / 0.6993 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.001e-05/0.1745, allocations: 31.84 kB / 0.6993 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.026e-05/0.1746, allocations: 4 kB / 0.6993 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.327e-05/0.1746, allocations: 11.98 kB / 0.6993 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.55e-05/0.1747, allocations: 11.94 kB / 0.6994 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.1747, allocations: 4 kB / 0.6994 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000516/0.1752, allocations: 347.3 kB / 0.6997 GB, free: 448 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.1752, allocations: 3.984 kB / 0.6997 GB, free: 444 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.1752, allocations: 15.92 kB / 0.6997 GB, free: 428 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.1755, allocations: 159.7 kB / 0.6999 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1755, allocations: 0 / 0.6999 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1755, allocations: 0 / 0.6999 GB, free: 268 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.1755, allocations: 0 / 0.6999 GB, free: 268 kB / 0.5137 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.0004899/0.176, allocations: 371.1 kB / 0.7002 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.176, allocations: 13.05 kB / 0.7002 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.069e-05/0.1761, allocations: 34.75 kB / 0.7003 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.757e-05/0.1761, allocations: 0.9375 kB / 0.7003 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.1763, allocations: 176.2 kB / 0.7004 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1763, allocations: 12.36 kB / 0.7004 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.1763, allocations: 12.11 kB / 0.7004 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.1764, allocations: 49.69 kB / 0.7005 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1764, allocations: 0 / 0.7005 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.1765, allocations: 0 / 0.7005 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.1765, allocations: 0 / 0.7005 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.222e-05/0.1765, allocations: 19.98 kB / 0.7005 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.1767, allocations: 165.7 kB / 0.7007 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.1768, allocations: 62.5 kB / 0.7007 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.551e-05/0.1769, allocations: 28.78 kB / 0.7008 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.1769, allocations: 4 kB / 0.7008 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.1769, allocations: 34.56 kB / 0.7008 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.1769, allocations: 0 / 0.7008 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001221/0.1782, allocations: 0.593 MB / 0.7014 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.1782, allocations: 55.41 kB / 0.7014 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.392e-05/0.1783, allocations: 97.84 kB / 0.7015 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.1783, allocations: 29.7 kB / 0.7016 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.1783, allocations: 80.14 kB / 0.7016 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.1784, allocations: 35.69 kB / 0.7017 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/0.1784, allocations: 29.84 kB / 0.7017 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1786, allocations: 326.8 kB / 0.702 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.119e-05/0.1786, allocations: 16 kB / 0.702 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.697e-05/0.1787, allocations: 27.92 kB / 0.702 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.924e-05/0.1788, allocations: 60.09 kB / 0.7021 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1788, allocations: 0 / 0.7021 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001614/0.179, allocations: 93.64 kB / 0.7022 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.179, allocations: 8 kB / 0.7022 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.179, allocations: 0 / 0.7022 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.179, allocations: 4 kB / 0.7022 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.1791, allocations: 27.92 kB / 0.7022 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1791, allocations: 0 / 0.7022 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.405e-05/0.1791, allocations: 0 / 0.7022 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.1792, allocations: 8 kB / 0.7022 GB, free: 13.51 MB / 0.5294 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.039e-05/0.1792, allocations: 113.8 kB / 0.7023 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.1793, allocations: 4 kB / 0.7023 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.1795, allocations: 109.5 kB / 0.7025 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1795, allocations: 4 kB / 0.7025 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1795, allocations: 4 kB / 0.7025 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1795, allocations: 0 / 0.7025 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004654/0.18, allocations: 359 kB / 0.7028 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.18, allocations: 0 / 0.7028 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.1801, allocations: 23.92 kB / 0.7028 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1801, allocations: 4 kB / 0.7028 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1801, allocations: 4 kB / 0.7028 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1801, allocations: 0 / 0.7028 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1801, allocations: 3.984 kB / 0.7028 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.1804, allocations: 218.3 kB / 0.703 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.1804, allocations: 81.14 kB / 0.7031 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.1804, allocations: 3.984 kB / 0.7031 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.088e-05/0.1805, allocations: 11.94 kB / 0.7031 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.1806, allocations: 3.938 kB / 0.7031 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.1806, allocations: 4 kB / 0.7031 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.196e-05/0.1806, allocations: 83.27 kB / 0.7032 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1806, allocations: 4.156 kB / 0.7032 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002832/0.1809, allocations: 35.97 kB / 0.7033 GB, free: 12.35 MB / 0.5294 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.0006916/0.1816, allocations: 0.7825 MB / 0.704 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001789/0.1818, allocations: 67.84 kB / 0.7041 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1818, allocations: 0 / 0.7041 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.757e-05/0.1818, allocations: 28.06 kB / 0.7041 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.182, allocations: 7.938 kB / 0.7041 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.1837, allocations: 1.51 MB / 0.7056 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.1841, allocations: 0.6922 MB / 0.7063 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.47e-05/0.1841, allocations: 11.98 kB / 0.7063 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/0.1841, allocations: 15.44 kB / 0.7063 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of SimCode: time 2.71e-07/0.1841, allocations: 0 / 0.7063 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.211, allocations: 2.068 MB / 0.7083 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.365, allocations: 12.98 kB / 0.7083 GB, free: 7.207 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.88602570699004] Failed to read output from testmodel.py, exit status != 0: 8.435911750988453 8.459349455 8.279693123 Calling exit ...