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.001674/0.001674, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.002029/0.002029, allocations: 216.2 kB / 23.03 MB, free: 4.953 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.8568/0.8568, allocations: 134 MB / 447.2 MB, free: 9.938 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.00194/0.00194, allocations: 62.94 kB / 0.6192 GB, free: 6.887 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1762, allocations: 85.91 MB / 0.7031 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002903/0.1791, allocations: 1.298 MB / 0.7044 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1803, allocations: 0.5449 MB / 0.7049 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.246e-05/0.1803, allocations: 0 / 0.7049 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.1804, allocations: 3.984 kB / 0.705 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.34e-05/0.1804, allocations: 3.938 kB / 0.705 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007302/0.1811, allocations: 162.7 kB / 0.7051 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.948e-05/0.1812, allocations: 23.92 kB / 0.7051 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.179e-05/0.1812, allocations: 8 kB / 0.7051 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.007e-05/0.1813, allocations: 11.92 kB / 0.7052 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.1813, allocations: 11.94 kB / 0.7052 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.1814, allocations: 4 kB / 0.7052 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005005/0.1819, allocations: 287.5 kB / 0.7054 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.1819, allocations: 0 / 0.7054 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.1819, allocations: 19.91 kB / 0.7055 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.1822, allocations: 143.8 kB / 0.7056 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1822, allocations: 0 / 0.7056 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.074e-06/0.1822, allocations: 0 / 0.7056 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.1822, allocations: 0 / 0.7056 GB, free: 14.55 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.0004867/0.1827, allocations: 302 kB / 0.7059 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.1828, allocations: 8.031 kB / 0.7059 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.814e-05/0.1828, allocations: 192 / 0.7059 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.1828, allocations: 34.75 kB / 0.7059 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.1829, allocations: 4.922 kB / 0.7059 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.183, allocations: 122.4 kB / 0.706 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.183, allocations: 384 / 0.706 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.183, allocations: 7.938 kB / 0.7061 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.1832, allocations: 105.1 kB / 0.7062 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1832, allocations: 0 / 0.7062 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1832, allocations: 4 kB / 0.7062 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.1833, allocations: 0 / 0.7062 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.823e-05/0.1833, allocations: 23.98 kB / 0.7062 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.1835, allocations: 132.8 kB / 0.7063 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.1837, allocations: 62.44 kB / 0.7064 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.1837, allocations: 28.84 kB / 0.7064 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.1838, allocations: 4 kB / 0.7064 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/0.1838, allocations: 30.56 kB / 0.7064 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 3.747e-06/0.1838, allocations: 7.922 kB / 0.7064 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001295/0.1851, allocations: 443.9 kB / 0.7069 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.1852, allocations: 55.41 kB / 0.7069 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/0.1852, allocations: 97.86 kB / 0.707 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.1853, allocations: 25.8 kB / 0.707 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.056e-05/0.1853, allocations: 88.06 kB / 0.7071 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.1853, allocations: 31.7 kB / 0.7071 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.498e-05/0.1854, allocations: 33.64 kB / 0.7072 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1856, allocations: 322.8 kB / 0.7075 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.835e-05/0.1856, allocations: 28.05 kB / 0.7075 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.366e-05/0.1857, allocations: 27.98 kB / 0.7075 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.778e-05/0.1858, allocations: 52.86 kB / 0.7076 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1858, allocations: 0 / 0.7076 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001582/0.1859, allocations: 97.62 kB / 0.7077 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1859, allocations: 4 kB / 0.7077 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1859, allocations: 0 / 0.7077 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1859, allocations: 0 / 0.7077 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1861, allocations: 23.94 kB / 0.7077 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1861, allocations: 0 / 0.7077 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.322e-05/0.1861, allocations: 11.98 kB / 0.7077 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.1861, allocations: 8 kB / 0.7077 GB, free: 12.11 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 9.099e-05/0.1862, allocations: 117.8 kB / 0.7078 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.1862, allocations: 0 / 0.7078 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.1864, allocations: 113.6 kB / 0.7079 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1864, allocations: 0 / 0.7079 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1865, allocations: 0 / 0.7079 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1865, allocations: 3.984 kB / 0.708 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004278/0.1869, allocations: 313.6 kB / 0.7083 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1869, allocations: 0 / 0.7083 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.187, allocations: 23.92 kB / 0.7083 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.187, allocations: 8 kB / 0.7083 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.187, allocations: 0 / 0.7083 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.187, allocations: 0 / 0.7083 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.187, allocations: 3.938 kB / 0.7083 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.1873, allocations: 222.8 kB / 0.7085 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.1873, allocations: 4.031 kB / 0.7085 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.1873, allocations: 4 kB / 0.7085 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.391e-05/0.1874, allocations: 0 / 0.7085 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.1874, allocations: 11.92 kB / 0.7085 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.1875, allocations: 8 kB / 0.7085 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.894e-05/0.1875, allocations: 79.34 kB / 0.7086 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1875, allocations: 0 / 0.7086 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002797/0.1878, allocations: 43.86 kB / 0.7086 GB, free: 11.09 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.0007002/0.1885, allocations: 0.7779 MB / 0.7094 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001677/0.1887, allocations: 55.92 kB / 0.7095 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.1887, allocations: 7.938 kB / 0.7095 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.378e-05/0.1887, allocations: 31.92 kB / 0.7095 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.1889, allocations: 11.88 kB / 0.7095 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.1906, allocations: 1.505 MB / 0.711 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.775e-05/0.1906, allocations: 75.2 kB / 0.711 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.341e-05/0.1907, allocations: 11.97 kB / 0.7111 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.1907, allocations: 19.44 kB / 0.7111 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.1907, allocations: 4.062 kB / 0.7111 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.2145, allocations: 2.239 MB / 0.7133 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.42, allocations: 14.03 kB / 0.7133 GB, free: 6.41 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.094666080083698] Failed to read output from testmodel.py, exit status != 0: 11.588393738958985 11.605212075 11.419811962 Calling exit ...