Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestPatientValve.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.0006941/0.0006941, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008237/0.001518, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006694/0.0006694, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008003/0.00147, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8601/0.8601, allocations: 158.6 MB / 171 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1411/1.001, allocations: 49.5 MB / 220.5 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.005842/0.005842, allocations: 1.428 MB / 222.7 MB, free: 15.27 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001515/0.007358, allocations: 0.9444 MB / 223.6 MB, free: 14.32 MB / 234.7 MB " [Timeout remaining time 180] Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(MEV.Test.TestPatientValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientValve") translateModel(MEV.Test.TestPatientValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 224.9 MB, free: 13.06 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012e-05/1.149e-05, allocations: 2.312 kB / 224.9 MB, free: 13.06 MB / 234.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.001867/0.001879, allocations: 2.041 MB / 226.9 MB, free: 11 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005652/0.002444, allocations: 0.5734 MB / 227.5 MB, free: 10.42 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.043e-05/0.002484, allocations: 4 kB / 227.5 MB, free: 10.41 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.914e-05/0.002524, allocations: 23.78 kB / 227.5 MB, free: 10.39 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.825e-05/0.002592, allocations: 39.64 kB / 227.6 MB, free: 10.35 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.694e-05/0.002689, allocations: 43.83 kB / 227.6 MB, free: 10.31 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.002816, allocations: 143.1 kB / 227.8 MB, free: 10.17 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.71e-05/0.002903, allocations: 29.73 kB / 227.8 MB, free: 10.14 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.003004, allocations: 91.73 kB / 227.9 MB, free: 10.05 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.106e-05/0.003075, allocations: 35.91 kB / 227.9 MB, free: 10.02 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.003091, allocations: 8 kB / 227.9 MB, free: 10.01 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.959e-05/0.003151, allocations: 15.98 kB / 227.9 MB, free: 9.992 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.003167, allocations: 15.94 kB / 228 MB, free: 9.977 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.119e-05/0.003198, allocations: 31.94 kB / 228 MB, free: 9.945 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.003321, allocations: 87.64 kB / 228.1 MB, free: 9.859 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.188e-05/0.003333, allocations: 0 / 228.1 MB, free: 9.859 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003333, allocations: 4 kB / 228.1 MB, free: 9.855 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.003345, allocations: 0 / 228.1 MB, free: 9.855 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003755/0.003721, allocations: 344 kB / 228.4 MB, free: 9.496 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.697e-05/0.003748, allocations: 12.03 kB / 228.4 MB, free: 9.484 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.003777, allocations: 16.92 kB / 228.4 MB, free: 9.469 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.003886, allocations: 137.5 kB / 228.6 MB, free: 9.309 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-06/0.003894, allocations: 8.375 kB / 228.6 MB, free: 9.301 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-06/0.003904, allocations: 4.375 kB / 228.6 MB, free: 9.297 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.004014, allocations: 90.81 kB / 228.7 MB, free: 9.199 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.557e-06/0.004022, allocations: 192 / 228.7 MB, free: 9.199 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.004034, allocations: 4.375 kB / 228.7 MB, free: 9.195 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.00404, allocations: 3.938 kB / 228.7 MB, free: 9.191 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.778e-05/0.004078, allocations: 15.98 kB / 228.7 MB, free: 9.176 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/0.004377, allocations: 232 kB / 228.9 MB, free: 8.934 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.004589, allocations: 46.55 kB / 229 MB, free: 8.879 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.526e-05/0.004605, allocations: 16.88 kB / 229 MB, free: 8.859 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.004618, allocations: 4 kB / 229 MB, free: 8.855 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.004634, allocations: 34.56 kB / 229 MB, free: 8.812 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.004636, allocations: 0 / 229 MB, free: 8.812 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 9.251e-05/0.004728, allocations: 45.69 kB / 229.1 MB, free: 8.762 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.004752, allocations: 59.34 kB / 229.1 MB, free: 8.691 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.015e-05/0.004822, allocations: 154.5 kB / 229.3 MB, free: 8.527 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.00483, allocations: 25.7 kB / 229.3 MB, free: 8.496 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.004869, allocations: 112.2 kB / 229.4 MB, free: 8.383 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.822e-06/0.004876, allocations: 7.906 kB / 229.4 MB, free: 8.375 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.004909, allocations: 33.64 kB / 229.5 MB, free: 8.336 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.065e-05/0.004969, allocations: 330.7 kB / 229.8 MB, free: 8.004 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.004985, allocations: 12.86 kB / 229.8 MB, free: 7.988 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.949e-06/0.004995, allocations: 4 kB / 229.8 MB, free: 7.984 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.934e-05/0.005025, allocations: 20.84 kB / 229.8 MB, free: 7.961 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.005026, allocations: 0 / 229.8 MB, free: 7.961 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.037e-05/0.005077, allocations: 53.81 kB / 229.9 MB, free: 7.902 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.005086, allocations: 8 kB / 229.9 MB, free: 7.895 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.00509, allocations: 0 / 229.9 MB, free: 7.895 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.513e-06/0.005096, allocations: 0 / 229.9 MB, free: 7.895 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.123e-05/0.005148, allocations: 19.92 kB / 229.9 MB, free: 7.875 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-06/0.00515, allocations: 0 / 229.9 MB, free: 7.875 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.13e-05/0.005171, allocations: 4 kB / 229.9 MB, free: 7.871 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-06/0.005175, allocations: 0 / 229.9 MB, free: 7.871 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.021e-05/0.005205, allocations: 92.06 kB / 230 MB, free: 7.777 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.312e-06/0.005211, allocations: 8 kB / 230 MB, free: 7.77 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.552e-05/0.005227, allocations: 20.84 kB / 230 MB, free: 7.746 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.71e-07/0.005227, allocations: 0 / 230 MB, free: 7.746 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 3.677e-05/0.005264, allocations: 45.69 kB / 230.1 MB, free: 7.695 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.727e-06/0.005267, allocations: 7.938 kB / 230.1 MB, free: 7.688 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-06/0.005269, allocations: 4 kB / 230.1 MB, free: 7.684 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.41e-07/0.005269, allocations: 0 / 230.1 MB, free: 7.684 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.396e-05/0.005293, allocations: 8 kB / 230.1 MB, free: 7.676 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.21e-07/0.005294, allocations: 4 kB / 230.1 MB, free: 7.672 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.809e-05/0.005312, allocations: 11.92 kB / 230.1 MB, free: 7.66 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-06/0.005313, allocations: 0 / 230.1 MB, free: 7.66 MB / 234.7 MB 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 (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 prepare postOptimizeDAE: time 5.184e-05/0.005365, allocations: 184.2 kB / 230.3 MB, free: 7.473 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.005378, allocations: 8 kB / 230.3 MB, free: 7.465 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.685e-05/0.005444, allocations: 50.02 kB / 230.3 MB, free: 7.414 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.005447, allocations: 7.938 kB / 230.3 MB, free: 7.406 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.005448, allocations: 0 / 230.3 MB, free: 7.406 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.00545, allocations: 3.938 kB / 230.3 MB, free: 7.402 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.005601, allocations: 223.8 kB / 230.6 MB, free: 7.156 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.005602, allocations: 0 / 230.6 MB, free: 7.156 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/0.005624, allocations: 15.94 kB / 230.6 MB, free: 7.141 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.277e-05/0.005647, allocations: 20.2 kB / 230.6 MB, free: 7.121 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.005649, allocations: 0 / 230.6 MB, free: 7.121 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-06/0.005652, allocations: 0 / 230.6 MB, free: 7.121 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.005653, allocations: 0 / 230.6 MB, free: 7.121 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.005655, allocations: 7.922 kB / 230.6 MB, free: 7.113 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.549e-05/0.005721, allocations: 152.4 kB / 230.8 MB, free: 6.945 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.00573, allocations: 0 / 230.8 MB, free: 6.945 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.31e-05/0.005763, allocations: 0 / 230.8 MB, free: 6.945 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.005782, allocations: 8.031 kB / 230.8 MB, free: 6.938 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.005785, allocations: 3.938 kB / 230.8 MB, free: 6.934 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.673e-05/0.005812, allocations: 44.75 kB / 230.8 MB, free: 6.887 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005812, allocations: 0 / 230.8 MB, free: 6.887 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001379/0.00595, allocations: 43.89 kB / 230.9 MB, free: 6.844 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 7.542e-05/0.006025, allocations: 72.42 kB / 230.9 MB, free: 6.762 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 7.061e-05/0.006096, allocations: 45.62 kB / 231 MB, free: 6.711 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.0061, allocations: 4 kB / 231 MB, free: 6.707 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.291e-05/0.006113, allocations: 12.84 kB / 231 MB, free: 6.691 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.006253, allocations: 20.06 kB / 231 MB, free: 6.672 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.007727, allocations: 276.9 kB / 231.3 MB, free: 6.367 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.165e-05/0.007759, allocations: 67.34 kB / 231.3 MB, free: 6.281 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.624e-05/0.007785, allocations: 7.984 kB / 231.4 MB, free: 6.273 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.007826, allocations: 55.38 kB / 231.4 MB, free: 6.219 MB / 234.7 MB Notification: Performance of SimCode: time 9.02e-07/0.007827, allocations: 0 / 231.4 MB, free: 6.219 MB / 234.7 MB Notification: Performance of Templates: time 0.002246/0.01007, allocations: 0.9565 MB / 232.4 MB, free: 5.27 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestPatientValve.makefile [Timeout 660] (rm -f MEV_MEV.Test.TestPatientValve.pipe ; mkfifo MEV_MEV.Test.TestPatientValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestPatientValve.pipe >> ../files/MEV_MEV.Test.TestPatientValve.sim & ./MEV_MEV.Test.TestPatientValve -abortSlowSimulation -alarm=240 -lv LOG_STATS > MEV_MEV.Test.TestPatientValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.187549023889005]