Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001355/0.001355, allocations: 110.2 kB / 19.69 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.001586/0.001586, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.8522/0.8522, allocations: 134 MB / 447.2 MB, free: 10.25 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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [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.002241/0.002241, allocations: 61.47 kB / 0.6198 GB, free: 6.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1661, allocations: 85.89 MB / 0.7037 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002645/0.1688, allocations: 1.277 MB / 0.7049 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1698, allocations: 0.6074 MB / 0.7055 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/0.1699, allocations: 0 / 0.7055 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.762e-05/0.1699, allocations: 3.938 kB / 0.7055 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.457e-05/0.1699, allocations: 0 / 0.7055 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000598/0.1705, allocations: 142.8 kB / 0.7056 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.943e-05/0.1706, allocations: 7.938 kB / 0.7056 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.1706, allocations: 11.98 kB / 0.7057 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.838e-05/0.1706, allocations: 3.984 kB / 0.7057 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.577e-05/0.1707, allocations: 11.94 kB / 0.7057 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.1707, allocations: 0 / 0.7057 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005601/0.1713, allocations: 339.3 kB / 0.706 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.1713, allocations: 7.969 kB / 0.706 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.78e-05/0.1713, allocations: 0 / 0.706 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.1716, allocations: 139.6 kB / 0.7061 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1716, allocations: 0 / 0.7061 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1716, allocations: 0 / 0.7061 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1716, allocations: 3.938 kB / 0.7061 GB, free: 14.38 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004036/0.172, allocations: 282 kB / 0.7064 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.172, allocations: 12.62 kB / 0.7064 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.172, allocations: 0.9375 kB / 0.7064 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.1722, allocations: 110.5 kB / 0.7065 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1722, allocations: 384 / 0.7065 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.1722, allocations: 384 / 0.7065 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.516e-05/0.1723, allocations: 41.62 kB / 0.7066 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.1723, allocations: 0 / 0.7066 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.1723, allocations: 4 kB / 0.7066 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.1723, allocations: 0 / 0.7066 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.628e-05/0.1723, allocations: 7.938 kB / 0.7066 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.1725, allocations: 124.8 kB / 0.7067 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.717e-05/0.1725, allocations: 26.5 kB / 0.7067 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.068e-05/0.1726, allocations: 8.859 kB / 0.7067 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.1726, allocations: 8 kB / 0.7067 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1726, allocations: 34.56 kB / 0.7068 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1726, allocations: 0 / 0.7068 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001569/0.1728, allocations: 37.64 kB / 0.7068 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.1728, allocations: 59.39 kB / 0.7069 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.1729, allocations: 97.8 kB / 0.707 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1729, allocations: 25.7 kB / 0.707 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.173, allocations: 80.39 kB / 0.7071 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.173, allocations: 11.95 kB / 0.7071 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.173, allocations: 13.72 kB / 0.7071 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1732, allocations: 314.8 kB / 0.7074 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.399e-05/0.1732, allocations: 4 kB / 0.7074 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-06/0.1732, allocations: 0 / 0.7074 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.546e-05/0.1732, allocations: 16.86 kB / 0.7074 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1732, allocations: 0 / 0.7074 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.146e-05/0.1733, allocations: 49.59 kB / 0.7074 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1733, allocations: 4 kB / 0.7075 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1733, allocations: 0 / 0.7075 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1733, allocations: 3.984 kB / 0.7075 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.1735, allocations: 8 kB / 0.7075 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004465/0.174, allocations: 0.5821 MB / 0.708 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.075e-05/0.174, allocations: 4.031 kB / 0.708 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.174, allocations: 4.125 kB / 0.708 GB, free: 12.22 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.103e-05/0.1741, allocations: 117.7 kB / 0.7082 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.243e-06/0.1741, allocations: 0 / 0.7082 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.1742, allocations: 44.95 kB / 0.7082 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1742, allocations: 4 kB / 0.7082 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1742, allocations: 3.984 kB / 0.7082 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1742, allocations: 0 / 0.7082 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.1743, allocations: 124.7 kB / 0.7083 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1743, allocations: 4.031 kB / 0.7083 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.74e-05/0.1744, allocations: 11.98 kB / 0.7083 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1744, allocations: 3.938 kB / 0.7083 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.1744, allocations: 4 kB / 0.7083 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003987/0.1748, allocations: 0.5859 MB / 0.7089 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1748, allocations: 0 / 0.7089 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.477e-05/0.1749, allocations: 73.2 kB / 0.709 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.1749, allocations: 0 / 0.709 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.1749, allocations: 3.938 kB / 0.709 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.444e-05/0.1749, allocations: 0 / 0.709 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.1749, allocations: 0 / 0.709 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.1749, allocations: 4 kB / 0.709 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.896e-05/0.175, allocations: 79.27 kB / 0.7091 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.175, allocations: 128 / 0.7091 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002055/0.1752, allocations: 16 kB / 0.7091 GB, free: 11.05 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000165/0.1754, allocations: 111.2 kB / 0.7092 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001692/0.1755, allocations: 19.92 kB / 0.7092 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1755, allocations: 3.938 kB / 0.7092 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.478e-05/0.1756, allocations: 12 kB / 0.7092 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.1758, allocations: 4 kB / 0.7092 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.1761, allocations: 128 kB / 0.7093 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.1765, allocations: 0.6768 MB / 0.71 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.614e-05/0.1765, allocations: 7.438 kB / 0.71 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.1765, allocations: 0 / 0.71 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of Templates: time 0.00256/0.1791, allocations: 0.7018 MB / 0.7107 GB, free: 9.328 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.963347265962511] Failed to read output from testmodel.py, exit status != 0: 0.18728760886006057 0.20370521800000002 0.028892682000000003 Calling exit ...