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.001303/0.001303, allocations: 77.86 kB / 19.76 MB, free: 2.035 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.001421/0.001421, allocations: 160 kB / 23.01 MB, free: 4.945 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.433/1.433, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.7945/0.7945, allocations: 101.3 MB / 361.1 MB, free: 9.531 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [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.002842/0.002842, allocations: 62.66 kB / 0.5356 GB, free: 5.219 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1779, allocations: 85.88 MB / 0.6195 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002361/0.1803, allocations: 1.304 MB / 0.6208 GB, free: 260 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009552/0.1812, allocations: 0.5487 MB / 0.6213 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.646e-05/0.1812, allocations: 3.938 kB / 0.6213 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.546e-06/0.1813, allocations: 0 / 0.6213 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.618e-05/0.1813, allocations: 7.922 kB / 0.6213 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.1817, allocations: 155.4 kB / 0.6215 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.61e-05/0.1818, allocations: 23.92 kB / 0.6215 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 2.611e-05/0.1818, allocations: 4 kB / 0.6215 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.323e-05/0.1818, allocations: 19.91 kB / 0.6215 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.523e-05/0.1819, allocations: 4 kB / 0.6215 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.1819, allocations: 4 kB / 0.6215 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004501/0.1823, allocations: 271.4 kB / 0.6218 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.1823, allocations: 11.92 kB / 0.6218 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.1824, allocations: 15.98 kB / 0.6218 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.1826, allocations: 143.5 kB / 0.6219 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.1826, allocations: 0 / 0.6219 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1826, allocations: 0 / 0.6219 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.1826, allocations: 0 / 0.6219 GB, free: 15.05 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.0003354/0.183, allocations: 297.8 kB / 0.6222 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.375e-05/0.183, allocations: 12.62 kB / 0.6222 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/0.183, allocations: 4.938 kB / 0.6222 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.1831, allocations: 118.4 kB / 0.6224 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1832, allocations: 4.359 kB / 0.6224 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.1832, allocations: 8.375 kB / 0.6224 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.1833, allocations: 105 kB / 0.6225 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.1833, allocations: 0 / 0.6225 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-06/0.1833, allocations: 0 / 0.6225 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.1833, allocations: 4 kB / 0.6225 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.206e-05/0.1834, allocations: 19.97 kB / 0.6225 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001311/0.1835, allocations: 113.3 kB / 0.6226 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.1836, allocations: 58.55 kB / 0.6227 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.1836, allocations: 24.86 kB / 0.6227 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-06/0.1837, allocations: 0 / 0.6227 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.1837, allocations: 46.48 kB / 0.6227 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 7.92e-07/0.1837, allocations: 0 / 0.6227 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.00101/0.1847, allocations: 439.9 kB / 0.6231 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.1847, allocations: 59.39 kB / 0.6232 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.1848, allocations: 93.89 kB / 0.6233 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.1849, allocations: 37.64 kB / 0.6233 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/0.1849, allocations: 80.14 kB / 0.6234 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.1849, allocations: 39.81 kB / 0.6234 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.185, allocations: 25.72 kB / 0.6235 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1851, allocations: 322.8 kB / 0.6238 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.626e-05/0.1852, allocations: 19.98 kB / 0.6238 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.103e-05/0.1852, allocations: 26.88 kB / 0.6238 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.431e-05/0.1853, allocations: 52.84 kB / 0.6239 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.1853, allocations: 4 kB / 0.6239 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001678/0.1855, allocations: 101.6 kB / 0.624 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1855, allocations: 4 kB / 0.624 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.1855, allocations: 0 / 0.624 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1855, allocations: 7.875 kB / 0.624 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.1856, allocations: 27.98 kB / 0.624 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1856, allocations: 0 / 0.624 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.643e-05/0.1857, allocations: 4 kB / 0.624 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.1857, allocations: 4 kB / 0.624 GB, free: 12.7 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.552e-05/0.1858, allocations: 118.9 kB / 0.6241 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.1858, allocations: 0 / 0.6241 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.186, allocations: 109.7 kB / 0.6242 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.186, allocations: 0 / 0.6242 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.186, allocations: 0 / 0.6242 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.186, allocations: 0 / 0.6242 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004183/0.1864, allocations: 305.3 kB / 0.6245 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1864, allocations: 7.938 kB / 0.6245 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.1865, allocations: 16 kB / 0.6245 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1865, allocations: 0 / 0.6245 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1865, allocations: 4 kB / 0.6246 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1866, allocations: 4 kB / 0.6246 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1866, allocations: 3.984 kB / 0.6246 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.1869, allocations: 219.4 kB / 0.6248 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-06/0.1869, allocations: 0 / 0.6248 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.1869, allocations: 0 / 0.6248 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/0.187, allocations: 4.062 kB / 0.6248 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/0.187, allocations: 19.92 kB / 0.6248 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.187, allocations: 0 / 0.6248 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.736e-05/0.187, allocations: 83.27 kB / 0.6249 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.187, allocations: 0 / 0.6249 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002724/0.1873, allocations: 35.88 kB / 0.6249 GB, free: 11.72 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.0002091/0.1875, allocations: 131.1 kB / 0.625 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001508/0.1877, allocations: 67.22 kB / 0.6251 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1877, allocations: 0 / 0.6251 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.221e-05/0.1877, allocations: 40.02 kB / 0.6251 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.1879, allocations: 15.92 kB / 0.6251 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005408/0.1885, allocations: 284.8 kB / 0.6254 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.615e-05/0.1886, allocations: 67.34 kB / 0.6255 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.209e-05/0.1886, allocations: 11.97 kB / 0.6255 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.1886, allocations: 16.5 kB / 0.6255 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of SimCode: time 3.4e-07/0.1886, allocations: 4 kB / 0.6255 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of Templates: time 0.00368/0.1923, allocations: 0.9077 MB / 0.6264 GB, free: 10.16 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.479736823006533] Failed to read output from testmodel.py, exit status != 0: 0.20212483499199152 0.22257905900000002 0.036715450000000004 Calling exit ...