Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001842/0.001842, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001611/0.001611, allocations: 217.9 kB / 22.25 MB, free: 5.121 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.396/1.396, allocations: 230.6 MB / 256 MB, free: 7.961 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.8304/0.8304, allocations: 134 MB / 446.4 MB, free: 10.27 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_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",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.001955/0.001955, allocations: 66.95 kB / 0.6185 GB, free: 7.383 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1622, allocations: 85.91 MB / 0.7024 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002565/0.1648, allocations: 1.292 MB / 0.7037 GB, free: 252 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1659, allocations: 0.6149 MB / 0.7043 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.166, allocations: 0 / 0.7043 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.265e-05/0.166, allocations: 3.938 kB / 0.7043 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.922e-05/0.166, allocations: 0 / 0.7043 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006492/0.1667, allocations: 146.4 kB / 0.7045 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.834e-05/0.1668, allocations: 19.92 kB / 0.7045 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.1668, allocations: 15.94 kB / 0.7045 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.772e-05/0.1669, allocations: 8 kB / 0.7045 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.563e-05/0.1669, allocations: 11.92 kB / 0.7045 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.1669, allocations: 0 / 0.7045 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005507/0.1675, allocations: 347.3 kB / 0.7048 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.1675, allocations: 3.984 kB / 0.7048 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.1675, allocations: 11.92 kB / 0.7049 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.1678, allocations: 143.8 kB / 0.705 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1678, allocations: 0 / 0.705 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1678, allocations: 0 / 0.705 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.1678, allocations: 0 / 0.705 GB, free: 14.93 MB / 0.5294 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.0004461/0.1683, allocations: 301.8 kB / 0.7053 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1683, allocations: 12.03 kB / 0.7053 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.1683, allocations: 30.75 kB / 0.7053 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.1684, allocations: 0.9375 kB / 0.7053 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.1685, allocations: 114.4 kB / 0.7054 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1685, allocations: 384 / 0.7054 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.1685, allocations: 12.12 kB / 0.7054 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.1686, allocations: 33.69 kB / 0.7055 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1686, allocations: 0 / 0.7055 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1686, allocations: 8 kB / 0.7055 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1687, allocations: 4 kB / 0.7055 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.783e-05/0.1687, allocations: 7.984 kB / 0.7055 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.1689, allocations: 128.8 kB / 0.7056 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.169, allocations: 46.5 kB / 0.7057 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.1691, allocations: 16.8 kB / 0.7057 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1691, allocations: 8 kB / 0.7057 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.1691, allocations: 34.66 kB / 0.7057 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1691, allocations: 0 / 0.7057 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0005828/0.1697, allocations: 237.2 kB / 0.7059 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.1698, allocations: 55.41 kB / 0.706 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.996e-05/0.1698, allocations: 93.86 kB / 0.7061 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1699, allocations: 29.7 kB / 0.7061 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.1699, allocations: 88.12 kB / 0.7062 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.1699, allocations: 19.8 kB / 0.7062 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.17, allocations: 21.72 kB / 0.7062 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1701, allocations: 314.8 kB / 0.7065 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.029e-05/0.1701, allocations: 15.94 kB / 0.7066 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.044e-05/0.1702, allocations: 8 kB / 0.7066 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.021e-05/0.1702, allocations: 32.84 kB / 0.7066 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1702, allocations: 3.938 kB / 0.7066 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001086/0.1703, allocations: 77.58 kB / 0.7067 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1703, allocations: 6.188 kB / 0.7067 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.1703, allocations: 0 / 0.7067 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1704, allocations: 4 kB / 0.7067 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.262e-05/0.1704, allocations: 11.94 kB / 0.7067 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1704, allocations: 0 / 0.7067 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.714e-05/0.1704, allocations: 0 / 0.7067 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1704, allocations: 4 kB / 0.7067 GB, free: 12.97 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 (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.575e-05/0.1705, allocations: 117.7 kB / 0.7068 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.1705, allocations: 4 kB / 0.7068 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.1707, allocations: 73.97 kB / 0.7069 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1707, allocations: 0 / 0.7069 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1707, allocations: 0 / 0.7069 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1707, allocations: 0 / 0.7069 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.171, allocations: 290.6 kB / 0.7072 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.171, allocations: 4 kB / 0.7072 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.091e-05/0.1711, allocations: 11.98 kB / 0.7072 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.1711, allocations: 4 kB / 0.7072 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.1711, allocations: 8.031 kB / 0.7072 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1711, allocations: 7.922 kB / 0.7072 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1711, allocations: 0 / 0.7072 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.1713, allocations: 180.3 kB / 0.7074 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.1713, allocations: 4 kB / 0.7074 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.1714, allocations: 4.031 kB / 0.7074 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.1714, allocations: 0 / 0.7074 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.1714, allocations: 12.05 kB / 0.7074 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1714, allocations: 3.938 kB / 0.7074 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.34e-05/0.1715, allocations: 83.28 kB / 0.7075 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1715, allocations: 0 / 0.7075 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002532/0.1717, allocations: 23.88 kB / 0.7075 GB, free: 12.07 MB / 0.5294 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.0005324/0.1723, allocations: 0.7288 MB / 0.7082 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.967e-05/0.1724, allocations: 31.92 kB / 0.7082 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1724, allocations: 0 / 0.7082 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.055e-05/0.1724, allocations: 19.98 kB / 0.7083 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.1726, allocations: 15.88 kB / 0.7083 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.1739, allocations: 1.319 MB / 0.7096 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.1742, allocations: 0.6844 MB / 0.7102 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.007e-05/0.1743, allocations: 7.984 kB / 0.7102 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.1743, allocations: 19.44 kB / 0.7102 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.1743, allocations: 0 / 0.7102 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.2027, allocations: 1.706 MB / 0.7119 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/10.93, allocations: 0 / 0.7119 GB, free: 7.562 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.3842082018964] Failed to read output from testmodel.py, exit status != 0: 11.039821241050959 11.067462377 10.894715346 Calling exit ...