Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001348/0.001348, allocations: 84.67 kB / 19.76 MB, free: 2.023 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.001458/0.001458, allocations: 159.1 kB / 23.01 MB, free: 4.961 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.49/1.49, 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.7937/0.7937, allocations: 101.3 MB / 361.1 MB, free: 9.543 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.002043/0.002043, allocations: 68.42 kB / 0.5356 GB, free: 5.195 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.1733/0.1754, allocations: 85.88 MB / 0.6195 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002755/0.1781, allocations: 1.486 MB / 0.6209 GB, free: 84 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1792, allocations: 0.5604 MB / 0.6215 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.14e-05/0.1792, allocations: 8 kB / 0.6215 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.1793, allocations: 3.938 kB / 0.6215 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.584e-05/0.1793, allocations: 3.938 kB / 0.6215 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005938/0.1799, allocations: 159.4 kB / 0.6217 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.637e-05/0.18, allocations: 59.53 kB / 0.6217 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.1801, allocations: 0 / 0.6217 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.193e-05/0.1801, allocations: 27.91 kB / 0.6217 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.912e-05/0.1802, allocations: 27.91 kB / 0.6218 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.1802, allocations: 4 kB / 0.6218 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/0.1806, allocations: 271.5 kB / 0.622 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.377e-05/0.1807, allocations: 15.92 kB / 0.6221 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.49e-05/0.1807, allocations: 19.92 kB / 0.6221 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.181, allocations: 171.4 kB / 0.6222 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.181, allocations: 0 / 0.6222 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.176e-06/0.181, allocations: 3.984 kB / 0.6222 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.181, allocations: 0 / 0.6222 GB, free: 14.76 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006125/0.1816, allocations: 325.8 kB / 0.6225 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1817, allocations: 12.62 kB / 0.6226 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.1817, allocations: 4.875 kB / 0.6226 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.1818, allocations: 122.4 kB / 0.6227 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.1818, allocations: 4.375 kB / 0.6227 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.1819, allocations: 8.375 kB / 0.6227 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.1822, allocations: 136.9 kB / 0.6228 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1822, allocations: 0 / 0.6228 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1822, allocations: 7.938 kB / 0.6228 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1822, allocations: 0 / 0.6228 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002423/0.1824, allocations: 51.95 kB / 0.6229 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000537/0.183, allocations: 252.4 kB / 0.6231 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.1833, allocations: 82.45 kB / 0.6232 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.1834, allocations: 32.84 kB / 0.6232 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.1834, allocations: 0 / 0.6232 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.1835, allocations: 38.56 kB / 0.6233 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.1835, allocations: 0 / 0.6233 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001702/0.1852, allocations: 499.7 kB / 0.6237 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.1852, allocations: 59.34 kB / 0.6238 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.462e-05/0.1853, allocations: 105.8 kB / 0.6239 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.1853, allocations: 29.7 kB / 0.6239 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.1854, allocations: 92.03 kB / 0.624 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/0.1854, allocations: 43.62 kB / 0.6241 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/0.1855, allocations: 33.7 kB / 0.6241 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1856, allocations: 314.8 kB / 0.6244 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.1858, allocations: 35.97 kB / 0.6244 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.1859, allocations: 27.73 kB / 0.6245 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.1861, allocations: 76.83 kB / 0.6245 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1861, allocations: 0 / 0.6245 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003349/0.1865, allocations: 121.8 kB / 0.6246 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1865, allocations: 6.5 kB / 0.6246 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1865, allocations: 0 / 0.6246 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1865, allocations: 0 / 0.6246 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.1867, allocations: 27.92 kB / 0.6247 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1867, allocations: 7.938 kB / 0.6247 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.561e-05/0.1867, allocations: 4 kB / 0.6247 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.1868, allocations: 15.92 kB / 0.6247 GB, free: 12 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.52e-05/0.1869, allocations: 113.8 kB / 0.6248 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.1869, allocations: 8.047 kB / 0.6248 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003945/0.1873, allocations: 125.6 kB / 0.6249 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1873, allocations: 4 kB / 0.6249 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1873, allocations: 7.938 kB / 0.6249 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1873, allocations: 3.984 kB / 0.625 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005698/0.1879, allocations: 314.2 kB / 0.6253 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1879, allocations: 0 / 0.6253 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.188, allocations: 35.91 kB / 0.6253 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.188, allocations: 0 / 0.6253 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.188, allocations: 7.938 kB / 0.6253 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.188, allocations: 0 / 0.6253 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.188, allocations: 0 / 0.6253 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005382/0.1886, allocations: 249.2 kB / 0.6255 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.1886, allocations: 12.05 kB / 0.6255 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.1886, allocations: 3.938 kB / 0.6255 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.1887, allocations: 11.98 kB / 0.6256 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.563e-05/0.1888, allocations: 11.92 kB / 0.6256 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.1888, allocations: 4 kB / 0.6256 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.795e-05/0.1888, allocations: 83.45 kB / 0.6257 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1888, allocations: 0 / 0.6257 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000291/0.1891, allocations: 39.86 kB / 0.6257 GB, free: 10.92 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0002112/0.1893, allocations: 131.1 kB / 0.6258 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003369/0.1897, allocations: 79.89 kB / 0.6259 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1897, allocations: 0 / 0.6259 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.1898, allocations: 43.97 kB / 0.6259 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.1901, allocations: 8 kB / 0.6259 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000707/0.1908, allocations: 320.4 kB / 0.6262 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.477e-05/0.1909, allocations: 75.59 kB / 0.6263 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.046e-05/0.191, allocations: 20.64 kB / 0.6263 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.191, allocations: 12.5 kB / 0.6264 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.191, allocations: 0 / 0.6264 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of Templates: time 0.004386/0.1954, allocations: 1.13 MB / 0.6275 GB, free: 9.098 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.423843954922631] Failed to read output from testmodel.py, exit status != 0: 0.20391528797335923 0.220280108 0.036165359 Calling exit ...