Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.001814/0.001814, allocations: 107.3 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.001974/0.001974, 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.395/1.395, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.7859/0.7859, 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_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 64.25 kB / 0.6051 GB, free: 15.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1521, allocations: 84.68 MB / 0.6878 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002337/0.1545, allocations: 1.273 MB / 0.6891 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.1555, allocations: 0.623 MB / 0.6897 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.551e-05/0.1555, allocations: 0 / 0.6897 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/0.1556, allocations: 0 / 0.6897 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.981e-05/0.1556, allocations: 7.922 kB / 0.6897 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005661/0.1562, allocations: 147.4 kB / 0.6898 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.148e-05/0.1562, allocations: 23.91 kB / 0.6898 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.1563, allocations: 0 / 0.6898 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.709e-05/0.1563, allocations: 11.94 kB / 0.6898 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.527e-05/0.1564, allocations: 4 kB / 0.6898 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.1564, allocations: 7.938 kB / 0.6899 GB, free: 9 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005073/0.1569, allocations: 343.3 kB / 0.6902 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.1569, allocations: 7.984 kB / 0.6902 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.1569, allocations: 11.94 kB / 0.6902 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.1572, allocations: 143.8 kB / 0.6903 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1572, allocations: 0 / 0.6903 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1572, allocations: 0 / 0.6903 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.1572, allocations: 0 / 0.6903 GB, free: 8.504 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004764/0.1577, allocations: 371 kB / 0.6907 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1577, allocations: 8.031 kB / 0.6907 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/0.1578, allocations: 38.75 kB / 0.6907 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.1578, allocations: 8.922 kB / 0.6907 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.1579, allocations: 168.3 kB / 0.6909 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1579, allocations: 4.375 kB / 0.6909 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.158, allocations: 8.109 kB / 0.6909 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.1581, allocations: 37.7 kB / 0.691 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1581, allocations: 0 / 0.691 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1581, allocations: 0 / 0.691 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1581, allocations: 0 / 0.691 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.6e-05/0.1581, allocations: 15.98 kB / 0.691 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.1583, allocations: 153.7 kB / 0.6911 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.1585, allocations: 50.55 kB / 0.6912 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.61e-05/0.1586, allocations: 20.8 kB / 0.6912 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.1586, allocations: 4.078 kB / 0.6912 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.1586, allocations: 34.5 kB / 0.6912 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1586, allocations: 0 / 0.6912 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006212/0.1592, allocations: 306.3 kB / 0.6915 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.1593, allocations: 51.41 kB / 0.6916 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.556e-05/0.1594, allocations: 102.3 kB / 0.6917 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1594, allocations: 25.7 kB / 0.6917 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.1594, allocations: 80.14 kB / 0.6918 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.1595, allocations: 23.8 kB / 0.6918 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.1595, allocations: 21.7 kB / 0.6918 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1596, allocations: 310.8 kB / 0.6921 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.621e-05/0.1597, allocations: 16 kB / 0.6921 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.921e-05/0.1597, allocations: 23.91 kB / 0.6921 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.643e-05/0.1598, allocations: 28.86 kB / 0.6922 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1598, allocations: 3.938 kB / 0.6922 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001009/0.1599, allocations: 61.69 kB / 0.6922 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1599, allocations: 8 kB / 0.6922 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1599, allocations: 3.938 kB / 0.6922 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1599, allocations: 0 / 0.6922 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.059e-05/0.1599, allocations: 8 kB / 0.6922 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.1599, allocations: 4.172 kB / 0.6923 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.16, allocations: 8 kB / 0.6923 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.16, allocations: 0 / 0.6923 GB, free: 6.258 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 (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 9.458e-05/0.1601, allocations: 121.8 kB / 0.6924 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.1601, allocations: 7.984 kB / 0.6924 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.1602, allocations: 73.7 kB / 0.6925 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1602, allocations: 4 kB / 0.6925 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1602, allocations: 0 / 0.6925 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1602, allocations: 0 / 0.6925 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003567/0.1606, allocations: 323.3 kB / 0.6928 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1606, allocations: 0 / 0.6928 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.028e-05/0.1607, allocations: 12 kB / 0.6928 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1607, allocations: 0 / 0.6928 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.1607, allocations: 0 / 0.6928 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.1607, allocations: 3.938 kB / 0.6928 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1607, allocations: 4 kB / 0.6928 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.1609, allocations: 180.4 kB / 0.693 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.1609, allocations: 81.09 kB / 0.693 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.1609, allocations: 7.984 kB / 0.693 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.161, allocations: 4 kB / 0.693 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.161, allocations: 4 kB / 0.693 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.161, allocations: 7.875 kB / 0.6931 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.963e-05/0.1611, allocations: 79.28 kB / 0.6931 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1611, allocations: 0 / 0.6931 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002424/0.1613, allocations: 31.86 kB / 0.6932 GB, free: 5.207 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0005731/0.1619, allocations: 0.7367 MB / 0.6939 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.162, allocations: 31.94 kB / 0.6939 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.162, allocations: 0 / 0.6939 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.972e-05/0.162, allocations: 24.3 kB / 0.6939 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.1622, allocations: 6 kB / 0.6939 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.1636, allocations: 1.338 MB / 0.6952 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.164, allocations: 0.6768 MB / 0.6959 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.971e-05/0.164, allocations: 4.25 kB / 0.6959 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.164, allocations: 13.69 kB / 0.6959 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.164, allocations: 0 / 0.6959 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.189, allocations: 1.618 MB / 0.6975 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/8.141, allocations: 7.953 kB / 0.6975 GB, free: 0.7969 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.490329912863672] Failed to read output from testmodel.py, exit status != 0: 8.219324681907892 8.239826561 8.078901972 Calling exit ...