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.001315/0.001315, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001652/0.001652, allocations: 216.9 kB / 23.01 MB, free: 4.609 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.8436/0.8436, allocations: 134 MB / 447.2 MB, free: 10.24 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: 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.002214/0.002214, allocations: 67.08 kB / 0.6198 GB, free: 6.762 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1771, allocations: 85.92 MB / 0.7037 GB, free: 0.9219 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002811/0.1799, allocations: 1.306 MB / 0.7049 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1812, allocations: 0.6111 MB / 0.7055 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.033e-05/0.1812, allocations: 0 / 0.7055 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.484e-05/0.1812, allocations: 11.92 kB / 0.7056 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.888e-05/0.1813, allocations: 0 / 0.7056 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007172/0.182, allocations: 151.3 kB / 0.7057 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.904e-05/0.1821, allocations: 19.88 kB / 0.7057 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.638e-05/0.1821, allocations: 11.98 kB / 0.7057 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.866e-05/0.1821, allocations: 4 kB / 0.7057 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.284e-05/0.1822, allocations: 11.92 kB / 0.7057 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.1822, allocations: 4 kB / 0.7057 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005737/0.1828, allocations: 343.3 kB / 0.7061 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/0.1828, allocations: 7.984 kB / 0.7061 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.1829, allocations: 11.94 kB / 0.7061 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.1832, allocations: 151.5 kB / 0.7062 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1832, allocations: 0 / 0.7062 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1832, allocations: 0 / 0.7062 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.1832, allocations: 0 / 0.7062 GB, free: 14.28 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.0004814/0.1837, allocations: 285.9 kB / 0.7065 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1837, allocations: 8.625 kB / 0.7065 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.1838, allocations: 4.938 kB / 0.7065 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.1839, allocations: 114.5 kB / 0.7066 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1839, allocations: 4.375 kB / 0.7066 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.1839, allocations: 4.375 kB / 0.7066 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.184, allocations: 41.62 kB / 0.7067 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.184, allocations: 3.938 kB / 0.7067 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1841, allocations: 4 kB / 0.7067 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.1841, allocations: 0 / 0.7067 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.595e-05/0.1841, allocations: 11.94 kB / 0.7067 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.1843, allocations: 128.8 kB / 0.7068 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.1845, allocations: 42.61 kB / 0.7069 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.678e-05/0.1845, allocations: 20.94 kB / 0.7069 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.1846, allocations: 3.938 kB / 0.7069 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.1846, allocations: 30.56 kB / 0.7069 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1846, allocations: 0 / 0.7069 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0006621/0.1853, allocations: 241.4 kB / 0.7071 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.1853, allocations: 51.41 kB / 0.7072 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.736e-05/0.1854, allocations: 101.8 kB / 0.7073 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.1854, allocations: 29.7 kB / 0.7073 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.1855, allocations: 80.14 kB / 0.7074 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.1855, allocations: 15.86 kB / 0.7074 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.1855, allocations: 21.7 kB / 0.7074 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1857, allocations: 318.8 kB / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.014e-05/0.1857, allocations: 16 kB / 0.7078 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.1858, allocations: 11.98 kB / 0.7078 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.017e-05/0.1858, allocations: 37.08 kB / 0.7078 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1858, allocations: 0 / 0.7078 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001136/0.1859, allocations: 73.5 kB / 0.7079 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.186, allocations: 8 kB / 0.7079 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.186, allocations: 0 / 0.7079 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.186, allocations: 0 / 0.7079 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.538e-05/0.186, allocations: 12 kB / 0.7079 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.186, allocations: 4 kB / 0.7079 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.866e-05/0.1861, allocations: 4 kB / 0.7079 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.1861, allocations: 3.984 kB / 0.7079 GB, free: 12.36 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 0.0001014/0.1862, allocations: 117.8 kB / 0.708 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.1862, allocations: 0 / 0.708 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.1863, allocations: 69.69 kB / 0.7081 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1863, allocations: 4 kB / 0.7081 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1863, allocations: 0 / 0.7081 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1863, allocations: 3.984 kB / 0.7081 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.1867, allocations: 290.4 kB / 0.7084 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1867, allocations: 0 / 0.7084 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.766e-05/0.1868, allocations: 12 kB / 0.7084 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1868, allocations: 0 / 0.7084 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1868, allocations: 3.938 kB / 0.7084 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1868, allocations: 4 kB / 0.7084 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1868, allocations: 0 / 0.7084 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.187, allocations: 188.2 kB / 0.7086 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.187, allocations: 8.031 kB / 0.7086 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.1871, allocations: 4.172 kB / 0.7086 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.1871, allocations: 4 kB / 0.7086 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.1872, allocations: 4 kB / 0.7086 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.647e-06/0.1872, allocations: 4 kB / 0.7086 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.195e-05/0.1872, allocations: 87.2 kB / 0.7087 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1872, allocations: 0 / 0.7087 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002538/0.1875, allocations: 23.94 kB / 0.7087 GB, free: 11.46 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.0002256/0.1877, allocations: 119.1 kB / 0.7088 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.1878, allocations: 35.92 kB / 0.7088 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1878, allocations: 0 / 0.7088 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.399e-05/0.1879, allocations: 16 kB / 0.7089 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.1881, allocations: 4 kB / 0.7089 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005207/0.1886, allocations: 226.4 kB / 0.7091 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.189, allocations: 0.6844 MB / 0.7097 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.189, allocations: 11.44 kB / 0.7098 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of SimCode: time 3.41e-07/0.189, allocations: 4 kB / 0.7098 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.002601/0.1916, allocations: 0.7984 MB / 0.7105 GB, free: 9.512 MB / 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.068424192955717] Failed to read output from testmodel.py, exit status != 0: 0.20013395883142948 0.217148322 0.030605145 Calling exit ...