Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001323/0.001323, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.001443/0.001443, allocations: 189 kB / 22.22 MB, free: 5.105 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.432/1.432, allocations: 225.6 MB / 251 MB, free: 13.01 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.8347/0.8347, allocations: 134 MB / 440.3 MB, free: 184 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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 64.36 kB / 0.6107 GB, free: 13.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1707, allocations: 84.73 MB / 0.6935 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002395/0.1731, allocations: 1.246 MB / 0.6947 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.1742, allocations: 0.5998 MB / 0.6953 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.588e-05/0.1743, allocations: 0 / 0.6953 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.1743, allocations: 0 / 0.6953 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.408e-05/0.1743, allocations: 0 / 0.6953 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005188/0.1748, allocations: 141.8 kB / 0.6954 GB, free: 7 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.491e-05/0.1749, allocations: 11.94 kB / 0.6954 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.1749, allocations: 4 kB / 0.6954 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.878e-05/0.1749, allocations: 0 / 0.6954 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/0.175, allocations: 15.92 kB / 0.6954 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.175, allocations: 0 / 0.6954 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005416/0.1755, allocations: 343.3 kB / 0.6958 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.367e-06/0.1756, allocations: 4 kB / 0.6958 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.896e-05/0.1756, allocations: 3.984 kB / 0.6958 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.1758, allocations: 143.5 kB / 0.6959 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1758, allocations: 0 / 0.6959 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1758, allocations: 0 / 0.6959 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.1759, allocations: 0 / 0.6959 GB, free: 6.484 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004008/0.1763, allocations: 274 kB / 0.6962 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1763, allocations: 16.03 kB / 0.6962 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.1763, allocations: 8.875 kB / 0.6962 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.1764, allocations: 114.5 kB / 0.6963 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.1765, allocations: 4.375 kB / 0.6963 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-06/0.1765, allocations: 384 / 0.6963 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.862e-05/0.1765, allocations: 33.64 kB / 0.6963 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1766, allocations: 0 / 0.6963 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.1766, allocations: 0 / 0.6963 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1766, allocations: 0 / 0.6963 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.672e-05/0.1766, allocations: 11.94 kB / 0.6964 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.1768, allocations: 120.8 kB / 0.6965 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.871e-05/0.1768, allocations: 26.61 kB / 0.6965 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.896e-05/0.1768, allocations: 8.797 kB / 0.6965 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.1769, allocations: 7.922 kB / 0.6965 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.1769, allocations: 34.62 kB / 0.6965 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.1769, allocations: 4 kB / 0.6966 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.000139/0.177, allocations: 41.64 kB / 0.6966 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.1771, allocations: 51.41 kB / 0.6966 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.396e-05/0.1772, allocations: 93.86 kB / 0.6967 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1772, allocations: 29.69 kB / 0.6968 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/0.1772, allocations: 84.14 kB / 0.6968 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.1772, allocations: 3.953 kB / 0.6968 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.1773, allocations: 13.97 kB / 0.6969 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1774, allocations: 314.8 kB / 0.6972 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.656e-05/0.1774, allocations: 8 kB / 0.6972 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-06/0.1774, allocations: 0 / 0.6972 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.19e-05/0.1775, allocations: 16.84 kB / 0.6972 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1775, allocations: 0 / 0.6972 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.767e-05/0.1775, allocations: 49.58 kB / 0.6972 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1776, allocations: 4 kB / 0.6972 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1776, allocations: 4.094 kB / 0.6972 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1776, allocations: 0 / 0.6972 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.1777, allocations: 11.98 kB / 0.6972 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004423/0.1782, allocations: 0.5782 MB / 0.6978 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.819e-05/0.1782, allocations: 0 / 0.6978 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.1782, allocations: 4.031 kB / 0.6978 GB, free: 4.332 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 (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 8.655e-05/0.1783, allocations: 122.8 kB / 0.6979 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.517e-06/0.1783, allocations: 3.953 kB / 0.6979 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.1784, allocations: 45 kB / 0.698 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.1784, allocations: 4 kB / 0.698 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1784, allocations: 0 / 0.698 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1784, allocations: 0 / 0.698 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.1785, allocations: 128.7 kB / 0.6981 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1785, allocations: 0 / 0.6981 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.726e-05/0.1786, allocations: 11.94 kB / 0.6981 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.1786, allocations: 8.016 kB / 0.6981 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.1786, allocations: 0 / 0.6981 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003711/0.179, allocations: 0.5859 MB / 0.6987 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.179, allocations: 3.938 kB / 0.6987 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.326e-05/0.1791, allocations: 57.27 kB / 0.6988 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-06/0.1791, allocations: 12.02 kB / 0.6988 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.1791, allocations: 7.938 kB / 0.6988 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.427e-05/0.1791, allocations: 0 / 0.6988 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-06/0.1791, allocations: 0 / 0.6988 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.1791, allocations: 4 kB / 0.6988 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.33e-05/0.1791, allocations: 75.28 kB / 0.6989 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5e-08/0.1791, allocations: 0 / 0.6989 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001889/0.1793, allocations: 11.94 kB / 0.6989 GB, free: 3.164 MB / 0.5137 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.0001605/0.1795, allocations: 111.3 kB / 0.699 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000163/0.1797, allocations: 19.98 kB / 0.699 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1797, allocations: 0 / 0.699 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.056e-05/0.1798, allocations: 15.98 kB / 0.699 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.1799, allocations: 3.125 kB / 0.699 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.1802, allocations: 118.2 kB / 0.6991 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.1805, allocations: 0.6729 MB / 0.6998 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.585e-05/0.1805, allocations: 3.906 kB / 0.6998 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.491e-05/0.1805, allocations: 7.438 kB / 0.6998 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1806, allocations: 0 / 0.6998 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of Templates: time 0.003047/0.1836, allocations: 467.3 kB / 0.7002 GB, free: 1.727 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.510456508025527] Failed to read output from testmodel.py, exit status != 0: 0.1912588905543089 0.20665682100000002 0.027763203 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fac706ad7b0>