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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002396/0.002396, allocations: 191.9 kB / 22.23 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 251 MB, free: 13 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.8509/0.8509, allocations: 134 MB / 440.3 MB, free: 240 kB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 69.8 kB / 0.6107 GB, free: 13.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.174, allocations: 84.72 MB / 0.6935 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002597/0.1766, allocations: 1.289 MB / 0.6947 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1777, allocations: 0.6149 MB / 0.6953 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.1778, allocations: 0 / 0.6953 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.1778, allocations: 0 / 0.6953 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.121e-05/0.1778, allocations: 7.922 kB / 0.6953 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005726/0.1784, allocations: 147.4 kB / 0.6955 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.775e-05/0.1785, allocations: 15.92 kB / 0.6955 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.153e-05/0.1785, allocations: 8 kB / 0.6955 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.038e-05/0.1786, allocations: 19.92 kB / 0.6955 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.828e-05/0.1786, allocations: 3.984 kB / 0.6955 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1786, allocations: 4 kB / 0.6955 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005438/0.1792, allocations: 343.3 kB / 0.6959 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.1792, allocations: 7.984 kB / 0.6959 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.1792, allocations: 15.86 kB / 0.6959 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.1795, allocations: 143.6 kB / 0.696 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1795, allocations: 0 / 0.696 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1795, allocations: 0 / 0.696 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.1795, allocations: 4 kB / 0.696 GB, free: 6.43 MB / 0.5137 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.0004813/0.18, allocations: 293.8 kB / 0.6963 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.18, allocations: 8.031 kB / 0.6963 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.1801, allocations: 4.938 kB / 0.6963 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.1802, allocations: 102.5 kB / 0.6964 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.1802, allocations: 8.312 kB / 0.6964 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.1802, allocations: 384 / 0.6964 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.1803, allocations: 49.61 kB / 0.6965 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1804, allocations: 0 / 0.6965 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1804, allocations: 4 kB / 0.6965 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1804, allocations: 0 / 0.6965 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.373e-05/0.1804, allocations: 12 kB / 0.6965 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.1806, allocations: 128.7 kB / 0.6966 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.1808, allocations: 46.55 kB / 0.6966 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.966e-05/0.1808, allocations: 20.94 kB / 0.6967 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.1809, allocations: 3.938 kB / 0.6967 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.1809, allocations: 34.56 kB / 0.6967 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1809, allocations: 0 / 0.6967 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006251/0.1815, allocations: 233.1 kB / 0.6969 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.1816, allocations: 59.39 kB / 0.697 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.27e-05/0.1816, allocations: 93.86 kB / 0.6971 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1816, allocations: 25.7 kB / 0.6971 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.1817, allocations: 84.14 kB / 0.6972 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.1817, allocations: 23.84 kB / 0.6972 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.1818, allocations: 17.72 kB / 0.6972 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1819, allocations: 318.8 kB / 0.6975 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.611e-05/0.1819, allocations: 7.984 kB / 0.6975 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.799e-05/0.1819, allocations: 15.94 kB / 0.6975 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.346e-05/0.182, allocations: 32.86 kB / 0.6976 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.182, allocations: 0 / 0.6976 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001088/0.1821, allocations: 69.61 kB / 0.6976 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.1821, allocations: 8 kB / 0.6977 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1821, allocations: 0 / 0.6977 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1822, allocations: 0 / 0.6977 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.633e-05/0.1822, allocations: 19.92 kB / 0.6977 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1822, allocations: 0 / 0.6977 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.1822, allocations: 3.938 kB / 0.6977 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.1822, allocations: 7.938 kB / 0.6977 GB, free: 4.516 MB / 0.5137 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 8.661e-05/0.1823, allocations: 113.8 kB / 0.6978 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.1823, allocations: 3.953 kB / 0.6978 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.1825, allocations: 86.47 kB / 0.6979 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1825, allocations: 0 / 0.6979 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1825, allocations: 0 / 0.6979 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1825, allocations: 0 / 0.6979 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000378/0.1829, allocations: 282.4 kB / 0.6981 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1829, allocations: 0 / 0.6981 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.248e-05/0.1829, allocations: 12 kB / 0.6982 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.1829, allocations: 7.969 kB / 0.6982 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.183, allocations: 0 / 0.6982 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.183, allocations: 8.031 kB / 0.6982 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.545e-06/0.183, allocations: 3.938 kB / 0.6982 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.1832, allocations: 176.5 kB / 0.6983 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.1832, allocations: 11.97 kB / 0.6984 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.1832, allocations: 4 kB / 0.6984 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.1833, allocations: 4 kB / 0.6984 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.1833, allocations: 8.047 kB / 0.6984 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.1833, allocations: 4 kB / 0.6984 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.689e-05/0.1833, allocations: 79.22 kB / 0.6984 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1833, allocations: 0 / 0.6984 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002693/0.1836, allocations: 27.88 kB / 0.6985 GB, free: 3.609 MB / 0.5137 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.0001873/0.1838, allocations: 119.1 kB / 0.6986 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.1839, allocations: 27.98 kB / 0.6986 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1839, allocations: 4 kB / 0.6986 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.467e-05/0.184, allocations: 23.92 kB / 0.6986 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.1842, allocations: 4.938 kB / 0.6986 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/0.1846, allocations: 196.4 kB / 0.6988 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.1849, allocations: 0.6768 MB / 0.6995 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.295e-05/0.1849, allocations: 12.14 kB / 0.6995 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.146e-05/0.185, allocations: 19.38 kB / 0.6995 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.185, allocations: 0 / 0.6995 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of Templates: time 0.003317/0.1883, allocations: 0.6863 MB / 0.7002 GB, free: 1.82 MB / 0.5137 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 sys.exit(0), Time elapsed: 5.662956168875098] Failed to read output from testmodel.py, exit status != 0: 0.19655529968440533 0.21267235199999995 0.030181107000000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f8cdfe457b0>