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.001454/0.001454, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001774/0.001774, allocations: 217 kB / 23.04 MB, free: 5.074 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 8 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.841/0.841, allocations: 134 MB / 447.2 MB, free: 10.26 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="cs",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="cs",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.001923/0.001923, allocations: 66.41 kB / 0.6193 GB, free: 7.234 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1649, allocations: 85.92 MB / 0.7032 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002419/0.1673, allocations: 1.302 MB / 0.7045 GB, free: 100 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1684, allocations: 0.619 MB / 0.7051 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.035e-05/0.1685, allocations: 0 / 0.7051 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.1685, allocations: 8 kB / 0.7051 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.167e-05/0.1685, allocations: 3.938 kB / 0.7051 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005707/0.1691, allocations: 154.8 kB / 0.7053 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.768e-05/0.1692, allocations: 31.86 kB / 0.7053 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.1692, allocations: 3.984 kB / 0.7053 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.158e-05/0.1692, allocations: 12 kB / 0.7053 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.993e-05/0.1693, allocations: 23.84 kB / 0.7053 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.1693, allocations: 0 / 0.7053 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005518/0.1699, allocations: 339.4 kB / 0.7056 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.1699, allocations: 11.97 kB / 0.7057 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.1699, allocations: 11.94 kB / 0.7057 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.1702, allocations: 159.7 kB / 0.7058 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1702, allocations: 4 kB / 0.7058 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1702, allocations: 0 / 0.7058 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.1702, allocations: 0 / 0.7058 GB, free: 14.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004085/0.1706, allocations: 286 kB / 0.7061 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1706, allocations: 12.02 kB / 0.7061 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.568e-05/0.1706, allocations: 12.12 kB / 0.7061 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.305e-05/0.1707, allocations: 34.75 kB / 0.7062 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.1707, allocations: 4.875 kB / 0.7062 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.1708, allocations: 114.4 kB / 0.7063 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.1708, allocations: 4.375 kB / 0.7063 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.1708, allocations: 7.938 kB / 0.7063 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.171, allocations: 53.62 kB / 0.7063 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.171, allocations: 7.984 kB / 0.7063 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.171, allocations: 0 / 0.7063 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.171, allocations: 0 / 0.7063 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.06e-05/0.1711, allocations: 23.98 kB / 0.7064 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.1712, allocations: 132.8 kB / 0.7065 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.1713, allocations: 62.44 kB / 0.7065 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.506e-05/0.1714, allocations: 24.84 kB / 0.7066 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.1714, allocations: 0 / 0.7066 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.1714, allocations: 38.56 kB / 0.7066 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 2.976e-06/0.1714, allocations: 7.984 kB / 0.7066 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001105/0.1725, allocations: 443.5 kB / 0.707 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.1726, allocations: 51.41 kB / 0.7071 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.198e-05/0.1727, allocations: 97.86 kB / 0.7072 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.1727, allocations: 33.64 kB / 0.7072 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.1727, allocations: 80.14 kB / 0.7073 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.1728, allocations: 39.69 kB / 0.7073 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.1728, allocations: 29.7 kB / 0.7074 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.173, allocations: 318.8 kB / 0.7077 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.336e-05/0.173, allocations: 19.98 kB / 0.7077 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.204e-05/0.173, allocations: 23.98 kB / 0.7077 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.738e-05/0.1731, allocations: 52.98 kB / 0.7077 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.1731, allocations: 4 kB / 0.7078 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001579/0.1733, allocations: 97.64 kB / 0.7078 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1733, allocations: 4 kB / 0.7079 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1733, allocations: 0 / 0.7079 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1733, allocations: 3.984 kB / 0.7079 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1734, allocations: 27.94 kB / 0.7079 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1734, allocations: 320 / 0.7079 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.491e-05/0.1735, allocations: 0 / 0.7079 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.1735, allocations: 8 kB / 0.7079 GB, free: 12.37 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 0.0001048/0.1736, allocations: 126.4 kB / 0.708 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.1736, allocations: 0 / 0.708 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.1738, allocations: 113.5 kB / 0.7081 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1738, allocations: 0 / 0.7081 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1738, allocations: 96 / 0.7081 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1738, allocations: 3.938 kB / 0.7081 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.1743, allocations: 329.5 kB / 0.7084 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1743, allocations: 0 / 0.7084 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.1744, allocations: 23.92 kB / 0.7085 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1744, allocations: 8 kB / 0.7085 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.1744, allocations: 0 / 0.7085 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1744, allocations: 0 / 0.7085 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1744, allocations: 3.938 kB / 0.7085 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.1747, allocations: 218.9 kB / 0.7087 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.523e-06/0.1747, allocations: 0 / 0.7087 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.1747, allocations: 4.031 kB / 0.7087 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.858e-05/0.1748, allocations: 7.938 kB / 0.7087 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.1748, allocations: 19.92 kB / 0.7087 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.1748, allocations: 4 kB / 0.7087 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.159e-05/0.1749, allocations: 79.28 kB / 0.7088 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1749, allocations: 0 / 0.7088 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002764/0.1751, allocations: 35.86 kB / 0.7088 GB, free: 11.33 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.0006886/0.1758, allocations: 0.785 MB / 0.7096 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001643/0.176, allocations: 59.86 kB / 0.7096 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.176, allocations: 0 / 0.7096 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.539e-05/0.1761, allocations: 31.92 kB / 0.7097 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.1763, allocations: 7.938 kB / 0.7097 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.1779, allocations: 1.501 MB / 0.7111 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.1783, allocations: 0.6923 MB / 0.7118 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.133e-05/0.1783, allocations: 7.984 kB / 0.7118 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.1783, allocations: 15.44 kB / 0.7118 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.1783, allocations: 4 kB / 0.7119 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.2023, allocations: 2.236 MB / 0.714 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.63, allocations: 7.062 kB / 0.714 GB, free: 6.043 MB / 0.5294 GB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 15.229560239939019] Failed to read output from testmodel.py, exit status != 0: 11.793176591978408 11.820874369 11.645746708 Calling exit ...