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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 108.8 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00208/0.00208, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.8367/0.8367, allocations: 134 MB / 436.6 MB, free: 1.293 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 68.23 kB / 0.6051 GB, free: 15.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1626, allocations: 84.67 MB / 0.6878 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002357/0.165, allocations: 1.288 MB / 0.6891 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.1661, allocations: 0.6192 MB / 0.6897 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.957e-05/0.1661, allocations: 0 / 0.6897 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/0.1661, allocations: 0 / 0.6897 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.85e-05/0.1662, allocations: 11.92 kB / 0.6897 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.1668, allocations: 153.4 kB / 0.6898 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.595e-05/0.1668, allocations: 23.92 kB / 0.6898 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.1669, allocations: 7.938 kB / 0.6899 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.006e-05/0.1669, allocations: 11.97 kB / 0.6899 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.612e-05/0.167, allocations: 15.92 kB / 0.6899 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.167, allocations: 4 kB / 0.6899 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005174/0.1675, allocations: 343.3 kB / 0.6902 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.1675, allocations: 8 kB / 0.6902 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.1675, allocations: 15.88 kB / 0.6902 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.1678, allocations: 159.7 kB / 0.6904 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1678, allocations: 0 / 0.6904 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.873e-06/0.1678, allocations: 0 / 0.6904 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.1678, allocations: 0 / 0.6904 GB, free: 8.441 MB / 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.0005292/0.1684, allocations: 371.1 kB / 0.6907 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1684, allocations: 8.031 kB / 0.6907 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.1685, allocations: 38.75 kB / 0.6908 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.1685, allocations: 0.9375 kB / 0.6908 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.1687, allocations: 180.2 kB / 0.691 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.1687, allocations: 384 / 0.691 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.1687, allocations: 8.125 kB / 0.691 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.1688, allocations: 53.62 kB / 0.691 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1689, allocations: 0 / 0.691 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1689, allocations: 0 / 0.691 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1689, allocations: 0 / 0.691 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.279e-05/0.1689, allocations: 19.98 kB / 0.691 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002228/0.1691, allocations: 165.6 kB / 0.6912 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.1693, allocations: 62.55 kB / 0.6913 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.954e-05/0.1693, allocations: 28.8 kB / 0.6913 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.1693, allocations: 0 / 0.6913 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1694, allocations: 38.48 kB / 0.6913 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.1694, allocations: 4 kB / 0.6913 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001227/0.1706, allocations: 0.5816 MB / 0.6919 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.1706, allocations: 59.39 kB / 0.6919 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.753e-05/0.1707, allocations: 93.86 kB / 0.692 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.1708, allocations: 29.7 kB / 0.6921 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.1708, allocations: 80.27 kB / 0.6921 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.808e-05/0.1709, allocations: 47.62 kB / 0.6922 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.1709, allocations: 25.72 kB / 0.6922 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1711, allocations: 326.8 kB / 0.6925 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.29e-05/0.1711, allocations: 19.98 kB / 0.6925 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.135e-05/0.1711, allocations: 24 kB / 0.6926 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.1712, allocations: 52.84 kB / 0.6926 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1712, allocations: 0 / 0.6926 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001473/0.1714, allocations: 101.5 kB / 0.6927 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1714, allocations: 15.94 kB / 0.6927 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1714, allocations: 0 / 0.6927 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1714, allocations: 3.984 kB / 0.6927 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.1715, allocations: 19.98 kB / 0.6928 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1715, allocations: 4 kB / 0.6928 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.933e-05/0.1716, allocations: 4 kB / 0.6928 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.1716, allocations: 4 kB / 0.6928 GB, free: 5.695 MB / 0.5137 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.881e-05/0.1717, allocations: 117.7 kB / 0.6929 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.1717, allocations: 4 kB / 0.6929 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.1719, allocations: 114.4 kB / 0.693 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1719, allocations: 4 kB / 0.693 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1719, allocations: 0 / 0.693 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1719, allocations: 0 / 0.693 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.1723, allocations: 354.4 kB / 0.6933 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1723, allocations: 0 / 0.6933 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.1724, allocations: 19.98 kB / 0.6933 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1724, allocations: 0 / 0.6933 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.423e-06/0.1725, allocations: 0 / 0.6933 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1725, allocations: 4 kB / 0.6934 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1725, allocations: 4 kB / 0.6934 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.1727, allocations: 217.9 kB / 0.6936 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-05/0.1728, allocations: 89.08 kB / 0.6936 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.1728, allocations: 4 kB / 0.6937 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.152e-05/0.1729, allocations: 0 / 0.6937 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.1729, allocations: 11.92 kB / 0.6937 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.1729, allocations: 11.94 kB / 0.6937 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.586e-05/0.1729, allocations: 83.34 kB / 0.6938 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1729, allocations: 0 / 0.6938 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002642/0.1732, allocations: 35.88 kB / 0.6938 GB, free: 4.527 MB / 0.5137 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.0006866/0.1739, allocations: 0.7864 MB / 0.6946 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001662/0.1741, allocations: 64.06 kB / 0.6946 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.1741, allocations: 4 kB / 0.6946 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.205e-05/0.1741, allocations: 35.92 kB / 0.6947 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.1743, allocations: 7 kB / 0.6947 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.176, allocations: 1.497 MB / 0.6961 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.1763, allocations: 0.6885 MB / 0.6968 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.067e-05/0.1763, allocations: 8.062 kB / 0.6968 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.1764, allocations: 27.36 kB / 0.6968 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of SimCode: time 4e-07/0.1764, allocations: 0 / 0.6968 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.2002, allocations: 2.062 MB / 0.6988 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.897/8.097, allocations: 13.73 kB / 0.6989 GB, free: 15.39 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 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 os._exit(0), Time elapsed: 11.468524088151753] Failed to read output from testmodel.py, exit status != 0: 8.16793192923069 8.198528766 8.025374295 Calling exit ...