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.001319/0.001319, allocations: 113 kB / 18.94 MB, free: 2.934 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.001604/0.001604, allocations: 208.3 kB / 22.25 MB, free: 5.086 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 8.023 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.8302/0.8302, allocations: 134 MB / 446.4 MB, free: 10.23 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.002162/0.002162, allocations: 70.94 kB / 0.6186 GB, free: 7.242 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1663, allocations: 85.91 MB / 0.7024 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002689/0.169, allocations: 1.31 MB / 0.7037 GB, free: 96 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.1701, allocations: 0.6151 MB / 0.7043 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.005e-05/0.1701, allocations: 4 kB / 0.7043 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.1701, allocations: 0 / 0.7043 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.201e-05/0.1702, allocations: 11.92 kB / 0.7043 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006403/0.1708, allocations: 154.2 kB / 0.7045 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.661e-05/0.1709, allocations: 31.86 kB / 0.7045 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.1709, allocations: 0 / 0.7045 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.339e-05/0.171, allocations: 19.97 kB / 0.7045 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.243e-05/0.171, allocations: 11.94 kB / 0.7045 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.171, allocations: 0 / 0.7045 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000564/0.1716, allocations: 343.3 kB / 0.7049 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.1716, allocations: 7.984 kB / 0.7049 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.1717, allocations: 19.94 kB / 0.7049 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.172, allocations: 155.7 kB / 0.705 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.172, allocations: 4 kB / 0.7051 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.382e-06/0.172, allocations: 0 / 0.7051 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.172, allocations: 3.938 kB / 0.7051 GB, free: 14.72 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.0004395/0.1724, allocations: 297.9 kB / 0.7053 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1724, allocations: 8.031 kB / 0.7053 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.1725, allocations: 30.75 kB / 0.7054 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.1725, allocations: 4.938 kB / 0.7054 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.1726, allocations: 122.4 kB / 0.7055 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.1726, allocations: 4.375 kB / 0.7055 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.1727, allocations: 12.06 kB / 0.7055 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.1728, allocations: 41.69 kB / 0.7056 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.1728, allocations: 8 kB / 0.7056 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.1728, allocations: 0 / 0.7056 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1728, allocations: 0 / 0.7056 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.686e-05/0.1729, allocations: 19.98 kB / 0.7056 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.1731, allocations: 132.8 kB / 0.7057 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.1732, allocations: 70.47 kB / 0.7058 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.773e-05/0.1732, allocations: 24.8 kB / 0.7058 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.1733, allocations: 0 / 0.7058 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.1733, allocations: 38.55 kB / 0.7058 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 4.419e-06/0.1733, allocations: 3.984 kB / 0.7058 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001176/0.1745, allocations: 455.5 kB / 0.7063 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.1745, allocations: 51.41 kB / 0.7063 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.875e-05/0.1746, allocations: 97.84 kB / 0.7064 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.1746, allocations: 29.7 kB / 0.7064 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.1747, allocations: 80.14 kB / 0.7065 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.1747, allocations: 43.8 kB / 0.7066 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.1748, allocations: 25.72 kB / 0.7066 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1749, allocations: 326.8 kB / 0.7069 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.262e-05/0.1749, allocations: 16 kB / 0.7069 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.259e-05/0.175, allocations: 23.98 kB / 0.7069 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.939e-05/0.1751, allocations: 60.78 kB / 0.707 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1751, allocations: 0 / 0.707 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001566/0.1752, allocations: 97.64 kB / 0.7071 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1753, allocations: 4 kB / 0.7071 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1753, allocations: 4 kB / 0.7071 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1753, allocations: 0 / 0.7071 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.1754, allocations: 24.08 kB / 0.7071 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1754, allocations: 7.875 kB / 0.7071 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.441e-05/0.1755, allocations: 0 / 0.7071 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1755, allocations: 8 kB / 0.7071 GB, free: 12.36 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 8.776e-05/0.1756, allocations: 113.8 kB / 0.7072 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.1756, allocations: 7.938 kB / 0.7073 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.1758, allocations: 109.7 kB / 0.7074 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1758, allocations: 0 / 0.7074 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1758, allocations: 0 / 0.7074 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.1758, allocations: 0 / 0.7074 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004568/0.1762, allocations: 329.5 kB / 0.7077 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1762, allocations: 0 / 0.7077 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.1764, allocations: 19.98 kB / 0.7077 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.1764, allocations: 0 / 0.7077 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.1764, allocations: 4 kB / 0.7077 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1764, allocations: 3.938 kB / 0.7077 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1764, allocations: 4 kB / 0.7077 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.1767, allocations: 217.8 kB / 0.7079 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.595e-06/0.1767, allocations: 0 / 0.7079 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.1767, allocations: 3.938 kB / 0.7079 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.361e-05/0.1768, allocations: 11.98 kB / 0.7079 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.1769, allocations: 11.92 kB / 0.7079 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1769, allocations: 0 / 0.7079 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.964e-05/0.1769, allocations: 87.34 kB / 0.708 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1769, allocations: 0 / 0.708 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002753/0.1772, allocations: 31.88 kB / 0.708 GB, free: 11.34 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.0006737/0.1779, allocations: 0.7823 MB / 0.7088 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001633/0.178, allocations: 64 kB / 0.7089 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.178, allocations: 8 kB / 0.7089 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.661e-05/0.1781, allocations: 23.98 kB / 0.7089 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.1783, allocations: 11.94 kB / 0.7089 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.1799, allocations: 1.497 MB / 0.7104 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.1802, allocations: 0.6922 MB / 0.7111 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.895e-05/0.1803, allocations: 12.06 kB / 0.7111 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.1803, allocations: 19.42 kB / 0.7111 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of SimCode: time 7.21e-07/0.1803, allocations: 0 / 0.7111 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.2103, allocations: 2.211 MB / 0.7132 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.15, allocations: 7.875 kB / 0.7132 GB, free: 6.055 MB / 0.5294 GB " [Timeout remaining time 649] (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: 14.570629264926538] Failed to read output from testmodel.py, exit status != 0: 11.250096878036857 11.275818819 11.099163457 Calling exit ...