Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001416/0.001416, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.001548/0.001548, allocations: 161.9 kB / 23.01 MB, free: 4.598 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.427/1.427, allocations: 177.2 MB / 203.4 MB, free: 8.902 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.824/0.824, allocations: 101.3 MB / 361.1 MB, free: 8.785 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [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.003044/0.003044, allocations: 68.48 kB / 0.5356 GB, free: 12.66 MB / 462.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.1788/0.1818, allocations: 85.88 MB / 0.6195 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002517/0.1843, allocations: 1.288 MB / 0.6207 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1855, allocations: 0.5501 MB / 0.6213 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.1855, allocations: 8 kB / 0.6213 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.1855, allocations: 0 / 0.6213 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.03e-05/0.1856, allocations: 3.938 kB / 0.6213 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000533/0.1861, allocations: 142 kB / 0.6214 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.891e-05/0.1862, allocations: 27.91 kB / 0.6215 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.634e-05/0.1862, allocations: 0 / 0.6215 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.23e-05/0.1863, allocations: 7.938 kB / 0.6215 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.806e-05/0.1863, allocations: 15.92 kB / 0.6215 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.1863, allocations: 4 kB / 0.6215 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004433/0.1868, allocations: 267.5 kB / 0.6217 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.1868, allocations: 3.938 kB / 0.6217 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.1868, allocations: 11.98 kB / 0.6218 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.1871, allocations: 139.6 kB / 0.6219 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1871, allocations: 0 / 0.6219 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.214e-06/0.1871, allocations: 3.938 kB / 0.6219 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.1871, allocations: 3.938 kB / 0.6219 GB, free: 4.281 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.0004631/0.1876, allocations: 285.9 kB / 0.6222 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1876, allocations: 8.031 kB / 0.6222 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.1876, allocations: 8.938 kB / 0.6222 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1877, allocations: 110.5 kB / 0.6223 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1878, allocations: 4.375 kB / 0.6223 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.1878, allocations: 384 / 0.6223 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.1879, allocations: 71.33 kB / 0.6224 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.1879, allocations: 0 / 0.6224 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.1879, allocations: 0 / 0.6224 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1879, allocations: 0 / 0.6224 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.097e-05/0.188, allocations: 12 kB / 0.6224 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.1881, allocations: 113.2 kB / 0.6225 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.1883, allocations: 42.61 kB / 0.6225 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.49e-05/0.1883, allocations: 20.86 kB / 0.6225 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.1884, allocations: 0 / 0.6225 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.1884, allocations: 34.5 kB / 0.6226 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.1884, allocations: 0 / 0.6226 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0005715/0.189, allocations: 233.6 kB / 0.6228 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.189, allocations: 55.34 kB / 0.6229 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.109e-05/0.1891, allocations: 101.8 kB / 0.623 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1891, allocations: 25.7 kB / 0.623 GB, free: 3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.1892, allocations: 84.14 kB / 0.6231 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.1892, allocations: 19.84 kB / 0.6231 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.1892, allocations: 25.72 kB / 0.6231 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.1894, allocations: 318.8 kB / 0.6234 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.857e-05/0.1894, allocations: 12.06 kB / 0.6234 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-05/0.1894, allocations: 8 kB / 0.6234 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.908e-05/0.1895, allocations: 40.83 kB / 0.6235 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1895, allocations: 0 / 0.6235 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001053/0.1896, allocations: 65.59 kB / 0.6235 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1896, allocations: 7.984 kB / 0.6235 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1896, allocations: 3.938 kB / 0.6235 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1897, allocations: 4 kB / 0.6235 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.603e-05/0.1897, allocations: 12 kB / 0.6235 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1897, allocations: 0 / 0.6235 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.782e-05/0.1897, allocations: 0 / 0.6235 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.1897, allocations: 8 kB / 0.6236 GB, free: 2.375 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 9.668e-05/0.1898, allocations: 107.6 kB / 0.6237 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.1899, allocations: 11.88 kB / 0.6237 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.19, allocations: 73.73 kB / 0.6237 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.19, allocations: 0 / 0.6237 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.19, allocations: 4 kB / 0.6237 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.19, allocations: 0 / 0.6237 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/0.1904, allocations: 263.1 kB / 0.624 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1904, allocations: 0 / 0.624 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.036e-05/0.1904, allocations: 15.94 kB / 0.624 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1904, allocations: 4 kB / 0.624 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1904, allocations: 3.938 kB / 0.624 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1904, allocations: 0 / 0.624 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1904, allocations: 0 / 0.624 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.1907, allocations: 184.5 kB / 0.6242 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.1907, allocations: 8.031 kB / 0.6242 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.1907, allocations: 0 / 0.6242 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.1908, allocations: 4.078 kB / 0.6242 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.66e-05/0.1908, allocations: 15.94 kB / 0.6242 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.1908, allocations: 4 kB / 0.6242 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.423e-05/0.1909, allocations: 75.28 kB / 0.6243 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1909, allocations: 0 / 0.6243 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002682/0.1911, allocations: 27.86 kB / 0.6243 GB, free: 1.512 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0002119/0.1913, allocations: 123.2 kB / 0.6244 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001161/0.1914, allocations: 27.98 kB / 0.6245 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.1915, allocations: 4 kB / 0.6245 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.894e-05/0.1915, allocations: 15.94 kB / 0.6245 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.1917, allocations: 13.97 kB / 0.6245 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004852/0.1922, allocations: 192.5 kB / 0.6247 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.157e-05/0.1923, allocations: 63.34 kB / 0.6247 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.844e-05/0.1923, allocations: 12.38 kB / 0.6248 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.1923, allocations: 12.5 kB / 0.6248 GB, free: 1 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.1923, allocations: 0 / 0.6248 GB, free: 1 MB / 0.5294 GB Notification: Performance of Templates: time 0.003319/0.1956, allocations: 0.6312 MB / 0.6254 GB, free: 416 kB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.316744082956575] Failed to read output from testmodel.py, exit status != 0: 0.20625712699256837 0.219471131 0.029239692 Calling exit ...