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.001684/0.001684, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.002061/0.002061, allocations: 216.6 kB / 22.25 MB, free: 5.246 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.801 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.8503/0.8503, allocations: 134 MB / 446.4 MB, free: 9.934 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.002175/0.002175, allocations: 67.11 kB / 0.6185 GB, free: 6.863 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1699, allocations: 85.91 MB / 0.7024 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002562/0.1725, allocations: 1.275 MB / 0.7036 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.1736, allocations: 0.5409 MB / 0.7042 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.779e-05/0.1736, allocations: 4 kB / 0.7042 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.1736, allocations: 0 / 0.7042 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.671e-05/0.1736, allocations: 3.938 kB / 0.7042 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006482/0.1743, allocations: 147.4 kB / 0.7043 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.19e-05/0.1744, allocations: 19.92 kB / 0.7043 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.1744, allocations: 4 kB / 0.7043 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.491e-05/0.1744, allocations: 15.92 kB / 0.7043 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.364e-05/0.1745, allocations: 0 / 0.7043 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.1745, allocations: 8 kB / 0.7044 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004494/0.1749, allocations: 271.5 kB / 0.7046 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.175, allocations: 0 / 0.7046 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.74e-05/0.175, allocations: 7.938 kB / 0.7046 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.1753, allocations: 147.7 kB / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1753, allocations: 0 / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1753, allocations: 0 / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1753, allocations: 0 / 0.7048 GB, free: 14.59 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.0004155/0.1757, allocations: 289.9 kB / 0.705 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1757, allocations: 12.03 kB / 0.705 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.091e-05/0.1758, allocations: 34.75 kB / 0.7051 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.1758, allocations: 4.938 kB / 0.7051 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.1759, allocations: 110.5 kB / 0.7052 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1759, allocations: 384 / 0.7052 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.1759, allocations: 4.125 kB / 0.7052 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.1761, allocations: 75.31 kB / 0.7053 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1761, allocations: 0 / 0.7053 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1761, allocations: 0 / 0.7053 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1761, allocations: 4 kB / 0.7053 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.053e-05/0.1761, allocations: 11.98 kB / 0.7053 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.1763, allocations: 128.8 kB / 0.7054 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.1765, allocations: 50.64 kB / 0.7055 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/0.1765, allocations: 24.72 kB / 0.7055 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.1765, allocations: 4 kB / 0.7055 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.1766, allocations: 30.56 kB / 0.7055 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1766, allocations: 0 / 0.7055 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0005924/0.1772, allocations: 233.2 kB / 0.7057 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.1772, allocations: 55.39 kB / 0.7058 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.336e-05/0.1773, allocations: 93.86 kB / 0.7059 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1773, allocations: 29.7 kB / 0.7059 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.1773, allocations: 80.14 kB / 0.706 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.1774, allocations: 27.83 kB / 0.706 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.1774, allocations: 17.72 kB / 0.706 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1775, allocations: 318.8 kB / 0.7063 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.007e-05/0.1776, allocations: 11.98 kB / 0.7063 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.179e-05/0.1776, allocations: 8 kB / 0.7063 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.383e-05/0.1777, allocations: 36.8 kB / 0.7064 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1777, allocations: 3.938 kB / 0.7064 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001095/0.1778, allocations: 65.64 kB / 0.7064 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1778, allocations: 4 kB / 0.7065 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1778, allocations: 0 / 0.7065 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1778, allocations: 4 kB / 0.7065 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.691e-05/0.1779, allocations: 15.98 kB / 0.7065 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1779, allocations: 0 / 0.7065 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.1779, allocations: 4 kB / 0.7065 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-06/0.1779, allocations: 0 / 0.7065 GB, free: 12.61 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.67e-05/0.178, allocations: 121.7 kB / 0.7066 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.178, allocations: 8 kB / 0.7066 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.1781, allocations: 69.73 kB / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1781, allocations: 0.5156 kB / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1782, allocations: 0 / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1782, allocations: 0 / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/0.1785, allocations: 298.5 kB / 0.707 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1785, allocations: 0 / 0.707 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.1786, allocations: 8 kB / 0.707 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1786, allocations: 0 / 0.707 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.1786, allocations: 4 kB / 0.707 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1786, allocations: 3.938 kB / 0.707 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.1786, allocations: 3.984 kB / 0.707 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.1788, allocations: 188.2 kB / 0.7071 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.1788, allocations: 8.031 kB / 0.7072 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.1788, allocations: 0 / 0.7072 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.1789, allocations: 8.078 kB / 0.7072 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.1789, allocations: 4 kB / 0.7072 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.1789, allocations: 3.938 kB / 0.7072 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.571e-05/0.179, allocations: 83.28 kB / 0.7073 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.179, allocations: 0 / 0.7073 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002533/0.1792, allocations: 27.86 kB / 0.7073 GB, free: 11.7 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.0005634/0.1798, allocations: 0.7252 MB / 0.708 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.1799, allocations: 31.97 kB / 0.708 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1799, allocations: 64 / 0.708 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.956e-05/0.1799, allocations: 27.92 kB / 0.708 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.1802, allocations: 12.03 kB / 0.7081 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.1815, allocations: 1.323 MB / 0.7093 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.08e-05/0.1816, allocations: 75.14 kB / 0.7094 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.857e-05/0.1816, allocations: 0 / 0.7094 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.1816, allocations: 15.44 kB / 0.7094 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/0.1816, allocations: 0 / 0.7094 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.2119, allocations: 2.083 MB / 0.7115 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/10.94, allocations: 0 / 0.7115 GB, free: 7.449 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.547188090160489] Failed to read output from testmodel.py, exit status != 0: 11.047831250820309 11.064503119 10.886208424 Calling exit ...