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.001769/0.001769, allocations: 80.69 kB / 19.18 MB, free: 2.516 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.002115/0.002115, allocations: 162.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.517/1.517, allocations: 158.6 MB / 184.2 MB, free: 6.383 MB / 174.1 MB " [Timeout remaining time 178] 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.008876/0.008876, allocations: 1.426 MB / 237.9 MB, free: 1.711 MB / 222.1 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.653e-06/1.653e-06, allocations: 0 / 353 MB, free: 19.24 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.857e-05, allocations: 6.281 kB / 353 MB, free: 19.23 MB / 286.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002593/0.002621, allocations: 1.886 MB / 354.9 MB, free: 17.33 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008232/0.003445, allocations: 0.5541 MB / 355.4 MB, free: 16.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.188e-05/0.003506, allocations: 0 / 355.4 MB, free: 16.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.06e-05/0.003567, allocations: 19.84 kB / 355.4 MB, free: 16.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.003702, allocations: 51.56 kB / 355.5 MB, free: 16.7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.003911, allocations: 31.89 kB / 355.5 MB, free: 16.67 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.004064, allocations: 147.1 kB / 355.7 MB, free: 16.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.004185, allocations: 21.3 kB / 355.7 MB, free: 16.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.004285, allocations: 75.8 kB / 355.8 MB, free: 16.43 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.921e-05/0.004374, allocations: 35.84 kB / 355.8 MB, free: 16.39 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.004397, allocations: 8 kB / 355.8 MB, free: 16.39 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.705e-05/0.004454, allocations: 20 kB / 355.8 MB, free: 16.37 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.53e-05/0.004479, allocations: 23.91 kB / 355.8 MB, free: 16.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.138e-05/0.00453, allocations: 39.86 kB / 355.9 MB, free: 16.3 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.004689, allocations: 115.6 kB / 356 MB, free: 16.19 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.004694, allocations: 0 / 356 MB, free: 16.19 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.004695, allocations: 0 / 356 MB, free: 16.19 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.0047, allocations: 0 / 356 MB, free: 16.19 MB / 286.1 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.0004624/0.005162, allocations: 345.7 kB / 356.3 MB, free: 15.82 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.0052, allocations: 15.97 kB / 356.3 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.005244, allocations: 12.89 kB / 356.4 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.005388, allocations: 145.6 kB / 356.5 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.005399, allocations: 4.375 kB / 356.5 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.005413, allocations: 8.375 kB / 356.5 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.005602, allocations: 90.16 kB / 356.6 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.005612, allocations: 192 / 356.6 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.005623, allocations: 384 / 356.6 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.00563, allocations: 7.938 kB / 356.6 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.005759, allocations: 51.97 kB / 356.7 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.006181, allocations: 316.1 kB / 357 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/0.006619, allocations: 74.47 kB / 357 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.166e-05/0.006671, allocations: 16.95 kB / 357.1 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.00669, allocations: 3.984 kB / 357.1 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.365e-05/0.006704, allocations: 34.5 kB / 357.1 MB, free: 14.98 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.006705, allocations: 0 / 357.1 MB, free: 14.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002527/0.006957, allocations: 89.58 kB / 357.2 MB, free: 14.88 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.006987, allocations: 51.41 kB / 357.2 MB, free: 14.82 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.982e-05/0.007087, allocations: 171.9 kB / 357.4 MB, free: 14.64 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.007097, allocations: 25.7 kB / 357.4 MB, free: 14.61 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/0.007143, allocations: 116.2 kB / 357.5 MB, free: 14.5 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.979e-06/0.007153, allocations: 11.91 kB / 357.6 MB, free: 14.48 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.007188, allocations: 25.66 kB / 357.6 MB, free: 14.45 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.484e-05/0.007232, allocations: 318.8 kB / 357.9 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.852e-05/0.007291, allocations: 28.86 kB / 357.9 MB, free: 14.1 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.412e-05/0.007335, allocations: 15.98 kB / 357.9 MB, free: 14.09 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.831e-05/0.007433, allocations: 52.78 kB / 358 MB, free: 14.03 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.007435, allocations: 4 kB / 358 MB, free: 14.03 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000137/0.007572, allocations: 85.81 kB / 358.1 MB, free: 13.94 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.007584, allocations: 6.969 kB / 358.1 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.007588, allocations: 0 / 358.1 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.007602, allocations: 3.984 kB / 358.1 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.469e-05/0.007677, allocations: 15.98 kB / 358.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.007682, allocations: 0 / 358.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.731e-05/0.007739, allocations: 3.938 kB / 358.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.007747, allocations: 4 kB / 358.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.416e-05/0.007821, allocations: 104.1 kB / 358.2 MB, free: 13.8 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.638e-05/0.007857, allocations: 23.94 kB / 358.2 MB, free: 13.78 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.404e-05/0.007931, allocations: 40.84 kB / 358.3 MB, free: 13.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.007933, allocations: 3.984 kB / 358.3 MB, free: 13.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.000118/0.008051, allocations: 73.95 kB / 358.3 MB, free: 13.65 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.501e-06/0.008056, allocations: 8 kB / 358.4 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-06/0.008057, allocations: 0 / 358.4 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-06/0.008059, allocations: 0 / 358.4 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.331e-05/0.008112, allocations: 19.98 kB / 358.4 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.008114, allocations: 3.938 kB / 358.4 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.008161, allocations: 11.94 kB / 358.4 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.008165, allocations: 3.938 kB / 358.4 MB, free: 13.61 MB / 286.1 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.515e-05/0.00822, allocations: 185.1 kB / 358.6 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.008249, allocations: 11.91 kB / 358.6 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.008415, allocations: 74 kB / 358.7 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.008417, allocations: 0 / 358.7 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.008421, allocations: 4 kB / 358.7 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.008424, allocations: 7.875 kB / 358.7 MB, free: 13.31 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.008682, allocations: 287 kB / 359 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.008684, allocations: 4 kB / 359 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.513e-05/0.008729, allocations: 4 kB / 359 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.008731, allocations: 4 kB / 359 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.008738, allocations: 0 / 359 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.00874, allocations: 3.938 kB / 359 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008741, allocations: 0 / 359 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.008872, allocations: 176.3 kB / 359.1 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.008905, allocations: 19.88 kB / 359.2 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.008925, allocations: 8.031 kB / 359.2 MB, free: 12.76 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.942e-05/0.009005, allocations: 7.938 kB / 359.2 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.009038, allocations: 3.984 kB / 359.2 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.009042, allocations: 4 kB / 359.2 MB, free: 12.74 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.562e-05/0.009128, allocations: 124.1 kB / 359.3 MB, free: 12.62 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.009128, allocations: 0 / 359.3 MB, free: 12.62 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003049/0.009433, allocations: 47.89 kB / 359.4 MB, free: 12.57 MB / 286.1 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 0.0001127/0.009546, allocations: 87.25 kB / 359.4 MB, free: 12.48 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.009751, allocations: 75.89 kB / 359.5 MB, free: 12.41 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.009752, allocations: 0 / 359.5 MB, free: 12.41 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.478e-05/0.009797, allocations: 11.94 kB / 359.5 MB, free: 12.39 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.01013, allocations: 11.98 kB / 359.5 MB, free: 12.38 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.01056, allocations: 242.7 kB / 359.8 MB, free: 12.11 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.089e-05/0.01061, allocations: 89.38 kB / 359.9 MB, free: 12 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.551e-05/0.01065, allocations: 12.2 kB / 359.9 MB, free: 11.99 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.01067, allocations: 16.5 kB / 359.9 MB, free: 11.98 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01067, allocations: 3.938 kB / 359.9 MB, free: 11.97 MB / 286.1 MB Notification: Performance of Templates: time 0.003488/0.01416, allocations: 0.862 MB / 360.8 MB, free: 11.12 MB / 286.1 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=480 -lv LOG_STATS > MEV_MEV.Test.TestPatientValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.307463273406029] Failed to read output from testmodel.py, exit status != 0: 0.02118709683418274 0.034773373 0.025946877 Calling exit ...